Jump to content

Meta language tag


razaviv

Recommended Posts

hello, im building an universal site and i want to display languages for everyone in the world.but with the ISO-8859-1 when im write hebrew for incase its display jibrish and not the real language.which meta tags should i write, so i will can output to all world's languages? thanks!

Link to comment
Share on other sites

Your question doesn't really make sence... what do you think a meta tag is?By wanting to "display languages from all over the world" do you mean "have pages in languages from all over the world"? If so, then you'll need to create a version of each page in each language and add an according language markings (like the HTML element's lang attribute) to each.If you mean something else, please give more details as to how you plan on organizing your content.[edit]<< Topics merged >>Oh... so you were talking about ENCODING and/or CHARSET required in order to write multi-lingual sites.UTF-8 is the answer to your question. But setting the charset meta (it's not a language meta), is not enough. You need to set UTF-8 everywhere where encodings and charsets can be set, including:1. File encoding (check the "Encoding" dropdown from Notepad or the equivalent in your editor)2. HTTP Content-Type header with a charset set, equivalent to the charset meta.3. The charset meta itself.4. Database charset.5. Database connection charset.[/edit]

Link to comment
Share on other sites

Your question doesn't really make sence... what do you think a meta tag is?By wanting to "display languages from all over the world" do you mean "have pages in languages from all over the world"? If so, then you'll need to create a version of each page in each language and add an according language markings (like the HTML element's lang attribute) to each.If you mean something else, please give more details as to how you plan on organizing your content.[edit]<< Topics merged >>Oh... so you were talking about ENCODING and/or CHARSET required in order to write multi-lingual sites.UTF-8 is the answer to your question. But setting the charset meta (it's not a language meta), is not enough. You need to set UTF-8 everywhere where encodings and charsets can be set, including:1. File encoding (check the "Encoding" dropdown from Notepad or the equivalent in your editor)2. HTTP Content-Type header with a charset set, equivalent to the charset meta.3. The charset meta itself.4. Database charset.5. Database connection charset.[/edit]
so what to write? and also what to set in db?
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...