Forum Moderators: open
1) One website is already very large, and well ranked with well over 10,000 pages and growing daily. It is in English.
Should I put all the Thai pages in a url such as www.mydomain.com/th/thistranslatedpage or use another method?
2) What do I need to do exactly to ensure that the page appears in Thai as it should when uploaded? Any tags or anything?
3) Is there any way for the page / server to see automatically that a users browser is fixed on Thai and that would create a pop up if he visits the English equivalent to tell him 'hey this same page is available in Thai?'
Thanks for any help.
2. Add this to your pages:
<html lang="th">
<meta http-equiv="content-type" content="text/html;charset=iso-8859-11">
<meta http-equiv="content-language" content="th"> 3. You could probably do some browser sniffing in JavaScript to see if the user's browser returned the language setting information.
I was planning on perhaps using the charset 874. What difference exactly do charsets make?
Also I was thinking of using fonts : MS Sans Serif, AngsanaUPC, Arial, Verdana
as the font face. Any other better ideas than that.
I understand what you say in terms of the .th domain and have considered it but prefer the idea of a department store with different levels rather than different urls. I need to think more about it I guess.
You can determine the users language setting (to an extent) using the HTTP accept-language header, just test what it's set to with PHP or something similar.
What difference exactly do charsets make?This basically lets the browser decode the contents of your page. As long as you use a charset that is commonly used you shouldn't have any problems. With Japanese encoding there used to be some problems with Netscape browsers viewing Unicode character sets, but I think that today's browsers can handle just about anything you throw at them.
fontsI would highly recommend using CSS for assigning fonts. Most Thai visitors to my sites seem to be on Windows systems so you'd probably be safe with default Windows fonts.
.th domainI think you'll find that there are a lot of people on WebmasterWorld that prescribe to this route. I used to do a lot of my translated sites on subdirectories, but recently have been spending a lot of time switching them off to local domains. I really wish I had started out on separate domains in the first place...