+1 for me also. But we should check it cannot introduce issues with BeanInfoSupport Test Element, see:
- https://issues.apache.org/bugzilla/show_bug.cgi?id=53679 Regards Philippe On Sun, Oct 14, 2012 at 4:14 PM, Milamber <[email protected]> wrote: > > > Le 14/10/2012 13:54, Rainer Jung a ecrit : > > Currently the language property is not supported in user.properties, >> because the locale gets initialized before user.properties is read. I guess >> that's because the logging is then also started and localization support is >> needed. >> >> Nevertheless it seems to work well to switch locale later after >> user.properties and command line flags have been read. I tested the >> following patch: >> >> Index: src/core/org/apache/jmeter/**JMeter.java >> ==============================**==============================**======= >> --- src/core/org/apache/jmeter/**JMeter.java (revision 1398057) >> +++ src/core/org/apache/jmeter/**JMeter.java (working copy) >> @@ -679,6 +679,9 @@ >> remoteProps.put(SampleEvent.**SAMPLE_VARIABLES, >> sample_variables); >> } >> jmeterProps.put("jmeter.**version", >> JMeterUtils.getJMeterVersion()**); >> + // Initialize locale again in case it was overwritten by >> + // user.properties or command line flags >> + JMeterUtils.initLocale(); >> } >> >> /* >> >> >> WDYT? >> > > Thanks. > > > Great idea! I vote for this patch! (I love French version of JMeter :-) ) > > Milamber > > > > >> Regards, >> >> Rainer >> >> > -- Cordialement. Philippe Mouawad.
