5
I am developing a site in Javaee and would like it to be multilingual (at least English, Portuguese and Spanish). But I would like to know how large websites, such as Facebook, for example, do to identify the country of origin and offer the site in the language of that country.
I know there are several ways to do this, through tables and queries in the database, with arrays, I’ve seen even through a copy of all files with its proper translations located in another server directory.
Dropbox, for example, uses Javascript.
I would like to know which of these forms is the one that least burdens the server (and if there are other ways?) and how can I identify which is my visitor’s language. I would also like to know what is the best way for future maintenance and adjustments, disregarding performance.
Note: This is not a duplicate of: http://answall.com/questions/21788/como-tornar-um-site-multil%C3%Adngue.
– Avelino
This question will end up showing up here too: http://i.stack.Imgur.com/qlgqy.png :) Note that the tag is automatically added to
<title>
.– brasofilo