users@glassfish.java.net

Re: glassfish v2 problems on Turkish locale

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 May 2008 05:18:01 PDT

> I want to double check something....
>
> In
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=
> 3851, an engineer is saying that they run into
> trouble when they run the server with
> user.language=tr.
>
> In this thread it looks like you are saying that
> setting the user.language=tr will resolve the
> problem?
>
> I am confused... It looks like you are saying that
> setting the user.language to match the default
> language resolves this... It seems like setting
> user.language=en or user.language=en-US would be the
> work-around...
>
> thanks,
> vbk

I noticed something. If i use [b]-Duser.language=tr[/b] instead of [b]-Duser.language=tr-TR[/b] or [b]-Duser.language=tr_TR[/b], i get an error as in the bug report (3851). I am having similar problems with another java application servers. I have to use [b]tr_TR[/b] instead of just [b]tr[/b] but internationalization documents say language parameter should be just tr not tr_TR. What is the correct syntax for -Duser.language option?
[Message sent by forum member 'bilgehan' (bilgehan)]

http://forums.java.net/jive/thread.jspa?messageID=275707