Hi,

I'm trying to create a localized pages using stripes and I'm running into some issues. It seems to me that I've figured out how Stripes uses the files, but I cannot get it to display the content correctly. Here's what I have:

        <init-param>
            <param-name>LocalePicker.Locales</param-name>
            <param-value>en_US:UTF-8,ru:UTF-8</param-value>
        </init-param>

And then I have 2 files:
    StripesResources.properties
    StripesResources_ru.properties

The problem happens with the 2nd (_ru) file. I go to notepad, paste the text in russian and save it as UTF-8. Then I use native2ascii.exe to convert the file into ASCII. Stripes correctly picks my locale to RU and encoding as UTF8, but all the text on the page is just a junk characters. If I simply save as UTF-8 from notepad then nothing ever shows up; as if the file wasn't even loaded.

After doing some googling I figured out that the problem lies in resource bundles themselves and I must do native2ascii. But nothing works anyway. Can someone help me out? Is it only with russian or other languages as well? On a side note, I couldn't figure how to write a resource bundle to load from the database either.

Any help is appreciated!
Daniil
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to