JFileUpload internalization

Upload core product.
Post Reply
wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

JFileUpload internalization

Post 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?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: JFileUpload internalization

Post 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

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: JFileUpload internalization

Post 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.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: JFileUpload internalization

Post 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

wilson
Posts: 15
Joined: Sun Mar 28, 2010 2:53 pm

Re: JFileUpload internalization

Post by wilson »

Use operating system language!
so it can not show diff language through change the ie language setup. Right?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: JFileUpload internalization

Post 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?

Post Reply