I've commited your patch, with a change: the current way for a user to
express its preferences is the bin/jmeter.properties file, which is
handled by JMeterUtils. To stay in line with this, I've moved the
UserPreferences functionality to JMeterUtils: the reinitializeLocale
method is now renamed to setLocale. I've also added a new property
"language" to jmeter.properties to define the preferred language in a
permanent way.
It would probably have been better to move all resource and user-configuration management functionality to the gui package (or to a new "i18l" package), but that's too much of a change right now.
Hope you agree with these changes.
Was there a bug associated with this patch which we should now mark as fixed?
Salut,
Jordi.
Oliver Rossmueller wrote:
The menubar now responds to language selections and updates all it's menu items accordingly. I will also update all existing guis to listen to the new LocaleChangeEvent to update all labels/buttons/...
The patch is available for download at http://www.tuxerra.com/jmeter_patches/lang_switch.tgz.
Oliver
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
