HTML Link for Differnt Language

How can you show diffrent language on web page through HTML link?

Questions by itsnav

Showing Answers 1 - 6 of 6 Answers

amitverma

  • Feb 9th, 2009
 

Using PHP we can always generate dynamic contents and so we can generate different languages.

Suppose we have the domain www.example.com and when a user tries to access this url we can by default redirect him to another subdomain or suburl www.en.example.com or www.example.com/en/ which has contents written in English.

For other languages we can follow the same convention or methods. The only problem is we need to replicate the data in multiple languages. So the "content" needs to get replicated in multiple languages and rest of the processing is quite obvious.

To see a real life experience you may start up using http://www.wikipedia.org/ which ask you at it's home page, which language you want to see in the inside pages. As soon as you choose a particular language, you reach into the content area of that language..

  Was this answer useful?  Yes

sujit_rb

  • Jul 13th, 2009
 

By using lang attribute.
lang = language-code [CI]
This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions