Website language changer

Hey Webdev,

I'm looking to build a site that needs to have some language options for French Canada. Either have a button to change the site language or do it automatically, would probably be more user friendly.

I did try to Google this but I'm not sure I have the right search term.

Thank you

Edit: I think were I need to look is Internationalization and Localization, still looking for best practises on changing site text.

Edit2: More research on sites like last.fm and ca.yahoo.com, it seems these sites have different websites per language or is their CMS (assuming they are using some sort of CMS) changing the text output for another language?

Edit3: I see why you would need to have a "different" site per language, the text size would require tweeking the page layout and any marketing banners/images would need to be swapped out. Couldn't that be fixed by using cookies or something to change what is shown based on language, even load a different CSS file?

Still looking for a way to change just the text on the page, start small and work my way up.

Posted Apr 12, 2014, 10:51 PM UTC · edited

32
floridawhiteguy•

Many websites use either subdomains - fr.domain.com - or they use top level directories off of the main domain - domain.com/fr/ - to compartmentalize language specific page sources. The beauty of this is it allows administrators to authorize specific access into separate areas to the appropriate content developers, so you don't have the English guys overwriting the French documents or vice versa.

Which method you use depends largely upon what CMS you choose, or whether you need one machine or more to handle load levels.

I think the easiest way to start is with subdirectories - /en/ and /fr/ for example, and duplicate the content from one to the other, correcting for language and idioms as needed. Then have a flag selector in the upper right corner of each page; link the flags to the appropriate language page of identical content. Make sure all of the links on all pages direct the user to the chosen language relevant content.

2
patricksonion•

The concrete5 cms has a great free language addon. Would highly recommend

-1