Page 1 of 1

create website with several languages (English, German, etc)

Posted: Tue Aug 29, 2006 2:12 am
by ansa
Hi,

I'm about to create a community website that has several language interfaces, such as English, German, and more whenever possible. The CMS admin (without programming lknowledge) for each language has to be able to change the content to their own language. Not only the content, but also all menus, links, buttons, warning messages, etc.

What is the common technique to do this, or better said, the easiest way? I don't think I have to copy the English version and reprogram it for each language, do I? I'm thinking to put all the words to be translated into a database.

Any suggestions will of course be appreciated.

Thanks!

Posted: Tue Aug 29, 2006 4:12 am
by darodesign
I'm yousing an easy to handle Langunge file, with arrays e.g. $lang['SiteNotFound'] = "Seite wurde nicht gefunden!"; I think it's an Easy way, 'cause if you use Smarty like me, you can assign the array to smarty and use your array in the Template.

If you want to edit your language Files, easily maybe you should use an MySql Database, or better XML.