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 91601

Summary: language change at runtime
Product: utilities Reporter: markuswolf <markuswolf>
Component: PropertiesAssignee: David Simonek <dsimonek>
Status: RESOLVED INVALID    
Severity: blocker CC: anebuzelsky, jiriprox, juhrik, kfrank
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description markuswolf 2006-12-27 20:33:00 UTC
Hi,
changing the language related properties at runtime has no effect on switching
to the appropriate localization bundle, but changing the system local does.

I would like to change localization at runtime without changing setting of the os.

markus
Comment 1 Ken Frank 2007-01-03 15:31:15 UTC
I think this is related to being able to test out ones localized bundles ?

I think java command has locale argument, so wonder if there might be
project properties argument that could be used already ?

Also, since some external processes might depend on the system locale for 
how they view the locale, the sense of locale for them will not
be affected by this ( just as starting netbeans using --locale argument might
not apply to them)

ken.frank@sun.com
Comment 2 David Simonek 2007-01-03 16:32:15 UTC
Pardon my ignorance, but I don't have a clue what you are trying to describe. Is
not there a special component/subcomponent for I18N things? I know almost
nothing about I18N so I probably can't help you.

Please reassing to proper people (I admit I don't know who is it) and describe
use cases, current NetBeans behaviour, desired behaviour exactly and in details,
thank you. I wonder if something like I feel this is is even implementable?
Again pardon my ignorance but this is how it is...
Comment 3 Ken Frank 2007-01-03 17:29:14 UTC
I'll change it to properties component; there is properties and i18n components
and are related.
(i18n component is not for all things about i18n at all, but about the features in
netbeans that provide user facilities to more easily create and manage bundle files.

ken.frank@sun.com
Comment 4 Jiri Prox 2007-01-03 18:00:46 UTC
You can add required locales as options for VM. In 6.0 you can setup several
launch configuration, each with different languages, and then just select one
configuration to start you application.
 To do this just open project properties, go to Run tab, create new run
configuration and add something like this "-Duser.language=de -Duser.country=DE"
as VM options.