Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 92257 - pt_BR: {$netbeans.autoupdate.language} is not rewrited correctly
pt_BR: {$netbeans.autoupdate.language} is not rewrited correctly
Product: platform
Classification: Unclassified
Component: Autoupdate
All All
: P2 (vote)
: 5.x
Assigned To: Jiri Rechtacek
: I18N
Depends on:
  Show dependency treegraph
Reported: 2007-01-10 19:22 UTC by Jan Lana
Modified: 2007-01-11 10:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lana 2007-01-10 19:22:37 UTC
Locele: pt_BR (brazilian portugues)

{$netbeans.autoupdate.language} in autoupdate url is rewrited to 'pt' instead of

It is big problem for shortfin (aka visualweb pack) which is localized to pt_BR
but not to pt
Comment 1 Jiri Rechtacek 2007-01-11 09:08:51 UTC
The property {$netbeans.autoupdate.language} only reads the property
java.util.Locale.getDefault().getLanguage(), no other logic nor modification.
make sure that IDE is started with correct locale, if I start IDE with --locale
pt_Br option then the {$netbeans.autoupdate.language} is set correctly.
Comment 2 Jan Lana 2007-01-11 10:56:21 UTC
it is the problem! Locale.getLanguage() returns language name, not language
variant. We need the variant if it set, because Portuguese and Brazillian
Portuguese are different. The property should read

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo