Re: Tomcat and problems with languages

2009-01-06 Thread vikas vasnik



fairyaya wrote:
 
 Goodmornig (or afternoon, it's depends)
 It's my first post here.
 I've a problem with a web application developped with struts and which
 uses different languages with properties files (so if the brower's setting
 is english the application will display texts in english, if it's italian
 twxts will be italian and so on..)
 
 On a tomcat 5.5 on a windows workstation everything goes fine: when you
 change the browser's language the application's language will change too.
 
 The same application on tomcat 5.5.15 on a linux workstation causes some
 problems: if we restart the server the application will respond with a mix
 of the browser language (italian) and the default (english) and the only
 way to make it go well again is to restart again the server.
 I've no idea at what tomcat setting see and change.
 what way can I try take to solve this problem?
 Any hint?
 Thank you very much.
 
Hi,
Text display according to the bean message of the property file,there are
seprate proerty file where you 
mention a single language bean messages.
hope it will help you


but my problem is that my web application is run properly on windows but
when i deployed it on linux via (PLESK) multi langauge can not support
properly.
what I will do for run the application on linux fedora.  

-- 
View this message in context: 
http://www.nabble.com/Tomcat-and-problems-with-languages-tp21070996p21326184.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat and problems with languages

2008-12-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fairyaya,

fairyaya wrote:
 The same application on tomcat 5.5.15 on a linux workstation causes some
 problems: if we restart the server the application will respond with a mix
 of the browser language (italian) and the default (english) and the only way
 to make it go well again is to restart again the server.

So... restarting the server is both the cause and the solution to this
problem? Perhaps you could be a bit more precise: do you have to restart
the entire machine, or just Tomcat itself?

Is it possible that some of your text isn't run through the Struts i18n
mechanisms? Also, If you have ApplicationMessages.properties in some
default language (often English) and no strings defined for, say,
Italian, then you'll get English text instead of your user's preferred
language.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklZMegACgkQ9CaO5/Lv0PCC0wCgwUgfGjJQmg/6kk4kSePgmCY2
92gAn0pj2K+lLTCupnVOVlUv8367nAVt
=liwU
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat and problems with languages

2008-12-18 Thread fairyaya

Goodmornig (or afternoon, it's depends)
It's my first post here.
I've a problem with a web application developped with struts and which uses
different languages with properties files (so if the brower's setting is
english the application will display texts in english, if it's italian twxts
will be italian and so on..)

On a tomcat 5.5 on a windows workstation everything goes fine: when you
change the browser's language the application's language will change too.

The same application on tomcat 5.5.15 on a linux workstation causes some
problems: if we restart the server the application will respond with a mix
of the browser language (italian) and the default (english) and the only way
to make it go well again is to restart again the server.
I've no idea at what tomcat setting see and change.
what way can I try take to solve this problem?
Any hint?
Thank you very much.
-- 
View this message in context: 
http://www.nabble.com/Tomcat-and-problems-with-languages-tp21070996p21070996.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat and problems with languages

2008-12-18 Thread André Warnier

fairyaya wrote:
[...]
That sounds a bit like my Manager-speaking-in-tongues of about one month 
ago...

You may want to search this list for Manager app language.
There was never any definitive solution, but maybe some clues on what to 
look for.


The gist of it is as follows :  there is a JVM system property called 
user.language which may influence which messages or pages are returned 
by any web application at a particular time.  The point is that this 
property is global, so if one rogue webapp changes it, all other 
instantly see that changed value.  So, for instance, the order in which 
the applications are started, or called, may have an impact on what you see.

Nice applications should not do that, but apparently not all are nice.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org