PDA

View Full Version : Static page in the appropiate language of the user.


srsiempre
08-10-2011, 05:50 PM
What is the best strategy for a static page in the appropriate language of the user?

We have static pages that show basic information about our organization and on the web. Now we have Spanish, English and local language. When a user clicks on the page, we would like to display the text for the language of your profile (or your choice in the bottom of the page
http://img4.imageshack.us/img4/8489/language.th.png (http://imageshack.us/photo/my-images/4/language.png/)).

We thought that we could use a PHP Direct Evaluation, including any conditions to assess the value of the user's language, but we have no idea where to start.

Any hints?

Thank you.

kh99
08-10-2011, 06:37 PM
I'm not sure of the best way, but couldn't you make the link a phrase (or make the base part of the link a parameter to a phrase), then provide a "translation" of that phrase for each language, so that the translation results in a link to a different static html file name for each language?