tables icon indicating copy to clipboard operation
tables copied to clipboard

Localization of decimal separator

Open SaimenSays opened this issue 1 year ago • 1 comments

Steps to reproduce

  1. Choose "Deutsch" as language in settings
  2. Insert a column as number field (Zahl-Feld)
  3. Use any amount of decimals >0 (Dezimalstellen)
  4. Insert a colum with a random value 1.234 (1,234)

Expected behavior

Value should use correct decimal separator according to selected language.

Actual behavior

Always a point is used as decimal separator. Unfortunatelly point is used as thousands separator in german language, which leads to confusion for unexperienced users.

Tables app version

0.8.3

Browser

Firefox 135

Client operating system

Windows

Operating system

Debian

Web server

Apache

PHP engine version

PHP 8.3

Database

None

Additional info

No response

SaimenSays avatar Jan 30 '25 22:01 SaimenSays

Hi again @SaimenSays , and thanks for bringing this one up!

I guess that's more something on the frontend-side, perhaps some lib like momentjs can help with that.

cc @enjeck

blizzz avatar Jan 31 '25 19:01 blizzz