Locale:i18n translations in dutch and . as decimal separator

Hi,

We want to use the decimal character on the numeric keypad as a point instead of a comma in smart clients.

I tested a little bit with the locale settings : my localhost is now on default locale ‘en,US’ in admin pages
On startup the . character is correctly used by the numpad as a point. But after logging in we switch the i18n locale to ‘nl,BE’ for dutch translations : i18.setLocale(‘nl’,‘BE’)
All text fields on forms that are loaded after this switch have the comma as separator…

What is the correct way to do this : translation tables in Dutch and decimal character on numpad as a point in text field entry?

Thanks
Robrecht

this is a feature that is build into servoy already for a very long time

The decimal key of the keyboard will insert the decimal char of the locale (and thats the , in nl/be and . in en/us)

you can’t currently control or override this behavior

Johan,

In webclient the behaviour is correct.
Shouldn’t the smartclient take the settings from my OS ? I defined the decimal separator as a point so whenever I use it in other programs the . is showed correctly
Is there a possibility you fix this when I make a support case ?

Robrecht

you can make a case, but we are following what the java locale settings are giving us. And that gives us that the decimal separator is a , which is correct for the dutch locale.

don’t think we have do much more by just getting and using what java gives us