Skip to content
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

Users with different locale have problems installing mods. #22

Open
dany5639 opened this issue Apr 5, 2016 · 1 comment
Open

Users with different locale have problems installing mods. #22

dany5639 opened this issue Apr 5, 2016 · 1 comment

Comments

@dany5639
Copy link

dany5639 commented Apr 5, 2016

Some users' windows locale use comma for decimal instead of dot.
For example, if my mod inputs "setfield position 0.5" trough batch, the dot is removed and it's converted into "5".
Can it be fixed in TagTool? Or is it system dependent?

@maximumgame
Copy link
Contributor

I tried a few things. You can set the parsing method to use the system's locale but distributing mods using a comma for someone's locale that uses dots as their decimal separator would cause issues.

If I set my locale to English and try to parse 0,5 I get 5 and 0.5 is 0.5

Trying "nl-NL" as my locale and doing 0,5 will result in 0.5 correctly but 0.5 is now 5.

Ideally there would be a SetLanguage command for the tagtool that will change how it parses so a mod author can select a locale and insert their comma or dot separated numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants