i18n bug multiplies numbers by 10 [message #53290] |
Sun, 03 July 2005 18:51 |
Andreas Voss Messages: 51 Registered: July 2009 |
Member |
|
|
(I have entered a bug report for this too)
When I run BIRT with german locale, paddings, margins, sizes etc can not
be changed correctly in the property editor. If I enter '500.0' for
example, the value is converted to '5000.0' when I press enter. When I
start eclipse with -Duser.language=en -Duser.region=US, everything is fine.
There seems to be a problem with the decimal separator. All values are
presented with '.' instead of the german ',', e.g. a value of 500 is
presented as '500.0' instead of german '500,0'. The input '500' (no
decimal places) is parsed correctly (giving '500.0'), but the input
'500.0' and '500,0' both are converted to 5000 and presented as '5000.0'.
This bug makes BIRT nearly unusable in german environment, its is
especially annoying with the chart component - when I try to change its
size, its becoming real huge and eclipse freezes. This probably happens
to other locales too. You may want to put a note near the download area
that people should use -vmargs -Duser.language=en -Duser.region=US to
start eclipse.
Thanks a lot for providing such a great product.
|
|
|
Re: i18n bug multiplies numbers by 10 [message #53401 is a reply to message #53290] |
Tue, 05 July 2005 04:13 |
Gary Xue Messages: 193 Registered: July 2009 |
Senior Member |
|
|
Andreas,
You should file a Bugzilla report - this looks like a bug that BIRT should
fix. Thanks for suggesting the workaround of setting the region/language to
US English.
Gary
"Andreas Voss" <eclipse@a-voss.de> wrote in message
news:da9c2r$go5$1@news.eclipse.org...
> (I have entered a bug report for this too)
>
> When I run BIRT with german locale, paddings, margins, sizes etc can not
> be changed correctly in the property editor. If I enter '500.0' for
> example, the value is converted to '5000.0' when I press enter. When I
> start eclipse with -Duser.language=en -Duser.region=US, everything is
fine.
>
> There seems to be a problem with the decimal separator. All values are
> presented with '.' instead of the german ',', e.g. a value of 500 is
> presented as '500.0' instead of german '500,0'. The input '500' (no
> decimal places) is parsed correctly (giving '500.0'), but the input
> '500.0' and '500,0' both are converted to 5000 and presented as '5000.0'.
>
> This bug makes BIRT nearly unusable in german environment, its is
> especially annoying with the chart component - when I try to change its
> size, its becoming real huge and eclipse freezes. This probably happens
> to other locales too. You may want to put a note near the download area
> that people should use -vmargs -Duser.language=en -Duser.region=US to
> start eclipse.
>
> Thanks a lot for providing such a great product.
|
|
|
Powered by
FUDForum. Page generated in 0.03195 seconds