-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Score is corrupted on systems with locale that uses comma as "floating point" delimeter #734
Comments
Which UI are you using (and what's your exact |
I misremembered how workaround works. What you actually have to do is to force it to give
I used Qt and now migrated to GTK one due to system transition to Qt6, to drop fat PyQt5 dependency. Both are affected. % locale
LANG=en_DK.UTF-8
LC_CTYPE=ru_RU.UTF-8
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_COLLATE=ru_RU.UTF-8
LC_MONETARY=ru_RU.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER=ru_RU.UTF-8
LC_NAME=ru_RU.UTF-8
LC_ADDRESS=ru_RU.UTF-8
LC_TELEPHONE=ru_RU.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_IDENTIFICATION=ru_RU.UTF-8
LC_ALL= Strangely, KDE/Plasma still forces Russian in apps by default, despite |
Some languages, like Russian, use comma instead of point, so trackma automatically substitutes points with commas in score field, only to complain with
invalid score
error. You can force it to take the score by manually putting point instead but then it immediately reverts it.The correct way would be to take both and transparently convert to what remote server expects.
A workaround would be to always force point on all locales.
The text was updated successfully, but these errors were encountered: