Jump to content

I18n


simpli

Recommended Posts

Hi,

I am starting a web page and it's gonna have to be from the beginning in french and english at least. What's the best way do you think for me to handle that. It's gonna be an ajax application. I've seen it done before that on the server side the guy had a language file where he had an array with like 90 strings in 6 different languages. Is this the route I should go? That gives me some problem on the client side though. How do I pull it off I I don't want to download all my "dictionnary" (for lack of a better word ) to my clients computer?

 

Thanks for your inputs.

JR

Link to comment
https://forums.phpfreaks.com/topic/157653-i18n/
Share on other sites

How do I pull it off, I don't want to download all my "dictionary" (for lack of a better word ) to my clients computer?

Don't?

 

Use a server side language such as PHP to build the page using the appropriate language.  There are a few ways of making an internationalized page, google a few examples, or go off the example you cited yourself.  Don't forget about page encodings/and-or/using unicode equivalents for certain characters.

Link to comment
https://forums.phpfreaks.com/topic/157653-i18n/#findComment-832909
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.