Monday, March 11, 2013

i18n (internationalization) playing nice with different operating systems

Hi Guys,

I did a little tweak to get this code to work properly on any OS.

The main issue is the file separator.

This code detects the OS and returns the proper file separator:

http://blogs.adobe.com/cantrell/archives/2003/03/making_your_col_1.html

The riaforge code for i18n did not play nice in the Linux & OS X world, I fixed that.

http://i18n.riaforge.org/

Here is a link for the code:

http://ppl.ug/qmJNBVsaEmI/

The sample page when run successfully looks like this:

No comments: