Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.