Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • 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.