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:

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

Here is a link for the code:

The sample page when run successfully looks like this:

No comments: