This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 36788 - Locales' node names?
Summary: Locales' node names?
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2003-10-23 11:58 UTC by ehucka
Modified: 2004-03-02 14:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2003-10-23 11:58:59 UTC
I've run many automated tests which are failing
because of non-unified locales' nodes names.

Example:
I add the cs_CZ locale:
in one test case it was named: 'cs - Czech'
in other case: 'cs_CZ - Czech/Czech Republic'
(expected)
in other case: 'cs - cz'
and sometimes: 'cz - Cestina' (with diacritics).

Are there any rules for locales' nodes names?
Comment 1 ehucka 2004-01-21 16:28:15 UTC
I've increassed priority to P2. The issue has hard impact to automated
tests.
Comment 2 Marian Petras 2004-02-02 15:08:36 UTC
Accepted. It is a bug in module Properties.
Comment 3 Marian Petras 2004-02-23 14:48:11 UTC
Fixed in the trunk.

Although this is fixed now both from the programmer's and from the
user's view, you may encounter different display names of nodes on
various systems.

The factors which may influence display names are:
  - current locale of the JVM running the tests
    (usually taken from the operating system's settings)
  - version of JDK/JRE
Comment 4 ehucka 2004-02-26 16:55:06 UTC
Build 200402251900
Results from automated tests for the Czech locale:

Solaris 9 Sparc: 'cs - Czech' always

Red Hat Linux 8: 50% of 'cs_CZ - Czech (Czech Republic)' and 50% of
'cs - Czech'

Windows 2000: mostly 'cs_CZ - Czech (Czech Republic)' sometimes 'cs_CZ
- Czech/Czech Republic'

Is there any way to find which name a locale should have?
Why don't have locales the same name on the one machine?
Comment 5 ehucka 2004-02-26 17:34:56 UTC
I've recognized there are maybe problems in automated tests.
I will research it. Now, you can resolved it.
Comment 6 Marian Petras 2004-02-27 12:33:21 UTC
OK, marking as fixed, again.
Comment 7 ehucka 2004-03-02 14:40:46 UTC
verified