DO NOT REPLY [Bug 47127] Unable to change language to pl_PL

2009-04-30 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47127


Sebb s...@apache.org changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Comment #1 from Sebb s...@apache.org  2009-04-30 03:39:03 PST ---
Why are you setting the Locale to pl_PL and not just pl?

Is that what your JVM is set to or have you defined the JMeter language
property?

Using pl works fine in the nightly builds.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 47127] Unable to change language to pl_PL

2009-04-30 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47127


kamil kamil.ku...@ser-solutions.pl changed:

   What|Removed |Added

 Status|NEEDINFO|NEW




--- Comment #2 from kamil kamil.ku...@ser-solutions.pl  2009-04-30 04:37:42 
PST ---
Hi Sebb,

   I'm selecting current locale in Start  Control Panel   Regional Settings 
first tab: Regional Options (and Advanced). I'm not passing JVM options
-Duser.language=pl -Duser.region=PL to alter default (polish) locale, which
I've set in 

   What variable isDefault actually stores is information 'isEnglish' (check
line #308). That may puzzle a bit.

   I've checked three computers (two Windows XP PL and one Windows 2000 Server
PL) and Locale.getDefault() returns: Default locale: pl_PL.

Cordially,
Kamil



// Code used to check for default locale
import java.util.Locale;

public class PrintLoc {
public static void main(String[] args) {
System.out.println(Default locale:  + Locale.getDefault());
}
}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 47127] Unable to change language to pl_PL

2009-04-30 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47127


Sebb s...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #4 from Sebb s...@apache.org  2009-04-30 04:51:44 PST ---
OK, I see.

What I have done is to add a further check.

If the Locales don't match exactly, then check if they match when getLanguage()
is used. If so, log a warning (because the requested Locale was not available)
but continue.

This corresponds better with the behaviour of Resource.getBundle().

See:

URL: http://svn.apache.org/viewvc?rev=770174view=rev
Log:
Bug 47127 -  Unable to change language to pl_PL

This will be in the nightlies from version r770174 ( 
https://svn.apache.org/viewcvs.cgi?view=revrev=770174 )

Thanks for the report.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org



DO NOT REPLY [Bug 47127] Unable to change language to pl_PL

2009-04-30 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47127


kamil kamil.ku...@ser-solutions.pl changed:

   What|Removed |Added

   Severity|normal  |minor




--- Comment #3 from kamil kamil.ku...@ser-solutions.pl  2009-04-30 04:48:56 
PST ---
I have this trouble only in Eclipse. When I've downloaded package from your
website and saved polish property file in proper place, it works fine.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org