Jump to content

Meta language tag


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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...