|
Posted by aa on 01/21/07 18:16
"CptDondo" <yan@NsOeSiPnAeMr.com> wrote in message
news:12r2ncr51rmnbe3@corp.supernews.com...
> Right now all the pages are hard-coded in English. We need to provide
> multi-lingual support.
>
> All of the pages are PHP generated. Ideally, I'd like for the PHP
> backend to serve up the language based a) the user's locale, and if that
> is not set, its own locale.
>
> The PHP backend creates the pages on the fly from XML templates, so it
> wouldn't be that hard for us to change the language.
>
> But... I don't know the best way to do that. What is the current 'state
> of the art' for language on demand in web content?
>
> Thanks....
If by XML templates you mean structired contents in in defferent languages,
then all you need is just a presentatinal template in Unicode.
The problem usually arises with non-european languages which probably would
not fit into a european page layout.
As to language selection, you might want to consider an explicit selection
of a language in the menu for the language detected automatically, is not
always what a visitor wants.
Navigation:
[Reply to this message]
|