Page 1 of 1
JFileUpload internalization
Posted: Wed Jul 07, 2010 9:16 am
by wilson
I setup resources=i18n and localeresources=true, JFileUpload component show the message correctly with local language, but when i change the browsers language to another, it also show me the local language, so where the component find the language settings?
Re: JFileUpload internalization
Posted: Wed Jul 07, 2010 8:36 pm
by support
You should not use localeresources=true since JRE 1.6.0_19+ because it generates a security warning pop-up. Internationalization should be done through JavaScript now. See:
viewtopic.php?f=2&t=478&p=1996&hilit=language#p1996
Re: JFileUpload internalization
Posted: Thu Jul 08, 2010 2:20 am
by wilson
You means that JFileUpload2.6 do not support other internalization or auto detect method expect add javascript to the head? I don't care the pop-up.
Re: JFileUpload internalization
Posted: Thu Jul 08, 2010 6:40 am
by support
Ok, if you don't care the pop-up then it should work. The applet uses operating system language/locale to find out which i18n_xx.properties to load:
http://www.jfileupload.com/products/jfi ... aq.html#19
Re: JFileUpload internalization
Posted: Thu Jul 08, 2010 6:45 am
by wilson
Use operating system language!
so it can not show diff language through change the ie language setup. Right?
Re: JFileUpload internalization
Posted: Thu Jul 15, 2010 7:58 am
by support
No, I don't think so. Operating System language can be simply modified on Windows.
Start -> Control panel- > Regional and Language Options -> Country drop down box.
Does it help?