With the 2022.XX version the whole way to manage the standard settings has changed. I had to put my hand to all the code because with the arithmetic calculations of the previous version now it is not found.
I set the Italian language it-IT the file I got from the forum (thanks lamorte). My need is to have the period instead of the comma so that it does not have to change all the times for the operations of change from, to. for mathematical operations. ex: 1250.23. I know that to override the “intl” setting of the locale you can act on the locale. these are my local settings.
{
"id": "it-IT",
"desc": "Italian (Italy)",
"number": "#. ##",
"currency": "0.00¤",
"currency_code": "EUR",
"currency_symbol": "€",
"percent": "#, ## 0%",
"decimal_separator": ",",
"grouping_separator": ".",
"numbering_system": null,
"date": "dd / MM / yy",
"time": "HH: mm",
"time_zone": null
}
Now I display the fields (view tag) “currency” as X, XX €.
Problems:
- The custom fields are NOT affected by the patterns of the locale
- the custom fields are NOT influenced by the view tag settings paterns
- even if I change the value “decimal_separator”: “,”, in “decimal_separator”: “.”, Or “decimal_separator”: “-”, nothing changes, wherever I find the “,” either if I operate as a system and regenerate the files, either if I directly edit the it-IT.json file from the “prj \ locale” folder
- When I type ex: 50.80 and add the line it stores 50,00
- When I type ex: 50,80 and add to the line it stores 50,80
- In the database I store 50.80I checked with the English language. If I set the English language, the decimals after the point remain.
it-IT 10.25 → 10.00
it-IT 10,25 → 10,25
en-US 10.25 → 10.25
en-US 10,25 → 10.00
Furthermore, when you access the local setting, you have to click on cancel to “deselect” the previous choice, it would be better to have another button to confirm the change, not the window one.Thanks for your help