Skip to main content



      Home
Home » Archived » BIRT » i18n bug multiplies numbers by 10
i18n bug multiplies numbers by 10 [message #53290] Sun, 03 July 2005 14:51 Go to next message
Eclipse UserFriend
(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 00:13 Go to previous message
Eclipse UserFriend
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.
Previous Topic:BIRT & POJO objects
Next Topic:BIRT with ProblemMarkers in Eclipse.
Goto Forum:
  


Current Time: Mon Mar 31 17:54:33 EDT 2025

Powered by FUDForum. Page generated in 0.02990 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top