hop icon indicating copy to clipboard operation
hop copied to clipboard

[Bug]: changing GUI language changes also decimal separator

Open liosc opened this issue 1 year ago • 3 comments

Apache Hop version?

2.3.0

Java version?

jdk-11.0.15.10

Operating system

Windows

What happened?

Changing the GUI language changes also the decimal separator. I would like to use English language but I need to use Italian decimal separator. If I choose Italian language a number converted to text appears like 10000,23. If I change the language to English, the same number becomes 1000023.0. I have a very simple pipeline to test this but i didn't find a way to attach it here. I think GUI language should be independent from international settings.

Issue Priority

Priority: 2

Issue Component

Component: Hop Gui

liosc avatar Apr 08 '23 08:04 liosc

Decimal and grouping separators can be specified in most transforms for this specific reason. Was there a particular place you were missing these options when data conversion is concerned?

mattcasters avatar Nov 14 '23 10:11 mattcasters

The biggest problem we have with this issue is related to hash generation. Changing decimal and grouping separator produces a different hash so we are forced to use always the same language. By the way, it doesn't seem logical to me that when you change the language the decimal and grouping separator change too. As I added in the description, I think GUI language should be independent from international settings.

liosc avatar Nov 14 '23 10:11 liosc

@mattcasters I agree with @liosc. Same as in every operating system were these two aspects are managed separately

sramazzina avatar Nov 17 '23 14:11 sramazzina