Changing value of input fields with non english locale

Bugs & Suggestions
Post Reply
dannysatan
Posts: 7
Joined: Sat Dec 05, 2015 9:32 am
operating_system: Linux
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: AfterShot 2 Pro

Changing value of input fields with non english locale

Post by dannysatan »

Hi,

I wanted to change the values in the text inputs just next to Autolevel label (0.2 and 0.2 by default) but it kept on staying set to 0.000

What I realised is that my Windows locale setting for number formats is set to Polish where decimal separation point is a comma and not a dot. I had to change my locale to English(UK) in order to use this feature at all. It probably affects all the other numeric fields in Aftershop but I didn't check.

Cheers,
Daniel
transeuropa
Posts: 1
Joined: Fri Jan 01, 2016 11:45 pm
operating_system: Linux
System_Drive: C
32bit or 64bit: 64 Bit
Location: Munich

Re: Changing value of input fields with non english locale

Post by transeuropa »

Yes, sure - all input fields are affected (on all operating systems)

Thx Daniel for unveiling the culprit.
Solution for Linux is to change LC_NUMERIC environment variable to e.g. en_US.UTF-8
Unfortunately this solution does not work on Mac OS X because this variable controls only terminal application. You have to change the global setting in the system setting dialog Language & Region.

Incredible that no one complains before. Personally I worked until now with ASP 1.2 - does anyone uses ASP2 outside of UK/USA?

Cheers,
Harald
dannysatan
Posts: 7
Joined: Sat Dec 05, 2015 9:32 am
operating_system: Linux
System_Drive: C
32bit or 64bit: 64 Bit
Corel programs: AfterShot 2 Pro

Re: Changing value of input fields with non english locale

Post by dannysatan »

Post Reply