[Java-gnome-developer] About supporting multiple languages
Brought to you by:
afcowie
From: Alberto G. <alb...@te...> - 2002-10-29 21:32:20
|
> I am > open to any suggestion you might have for the site and support > of multiple languages. The site is currently not in cvs but > I can add it there if you wish. Supporting multiple languages is easy. I think the web page could be programmed in PHP. The PHP source files will contain the format and the basic structure, and when text information have to be displayed it will include a file. There will be a file by language and a variable stored in the client will determinate wich file will be included. For storing the varible it could use a cookie. If a document is called 'info' and the variable 'var' contains the value 'en', the file wich will be included is 'info-en'. If 'var' contains 'es' (Spanish), the file wich will be included is 'info-es'. I could make the PHP source files and the English (copy & paste from the current web page) and Spanish version of the documents wich will be included. |