Zola Posted December 4, 2012 Share Posted December 4, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/271592-language-change-option-on-my-website/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 4, 2012 Share Posted December 4, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/271592-language-change-option-on-my-website/#findComment-1397541 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.