Jump to content

Language Change Option On My Website


Zola

Recommended Posts

Hello

 

I like this language change feature on this website:

http://www.schneider-electric.com/si.../index.cfm/uk/

 

In the top middle there is a link to change your country. What this does is effectively change the language of the website... are there any reliable tools for me to achieve this?

 

I have a website which has around 30 pages.. however it is not in a CMS/Blog platform, it is all hand coded.. can I do this easily in PHP, or can I get a decent plugin?

 

Any thoughts on this is much appreciated.

Link to comment
https://forums.phpfreaks.com/topic/271592-language-change-option-on-my-website/
Share on other sites

In general, this is achieved by using a template/database driven design. Based on the country/language selected, you retrieve the correct content from the database and populate the sections of the template.

 

Then someone fluent in one of the possible languages is responsible for creating and maintaining the blocks of content to make sure that they are grammatically correct in that language. For the large multi-national company you linked to as an example, this is easy because they simply have someone in an office in each country responsible for creating and maintaining the content for that country.

 

So, no there are no tools to take a general web page and convert it to this format. The page must be coded from the ground up 'like' a database driven CMS, than add the language/country selection logic to cause the appropriate content to be retrieved and output on the page.

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.