-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Italian locale file (filename.it.tr) not being loaded #8809
Comments
The magic translation string is correct in 5.1-dev. Are you sure your translation files are up to date?
|
I am using v5.0.1 minetest/src/network/clientpackethandler.cpp Line 137 in 76325d0
|
Works in 5.1-dev. Try this locale file: |
I've tried your locale file, it changed the Minetest engines' locale, but the mod locale still does not work. |
Does the issue persist on 5.1-dev for you? I don't think there was a change in that code but it's worth a try. |
I've just compiled it, the issue persists. |
Is any other language affected? This seems to be your main language, so those translations should also load if |
If I do not specify "language" in "minetest.conf" the engine's GUI is in Italian.
I will test using MT v5.0.1, MTG v5.0.1 (on Windows, for being double sure that it's not due to some Linux glitch) and a single mod; i.e. a mod adding a node that when punched sends a string to the player. Thank you for your time and help so far. :) |
I have created a tester, MT v5.0.1 and MTG v5.0.1 are working as expected. Thank you again. :) |
Eventually I have discovered the reason of the issue, it is due to Weblate's updated italian files. I've tested this with a clean MT v5.0.1 and MTG v5.0.1 installation; Could you try if this is happens to you as well, so that I can be sure that it is not my computer hating me? |
No wonder if the language code isn't right. Fix the translations.
|
Ah! Now I got what you meant here #8809 (comment), I thought that you were talking about the C++ source code, not about the locale file. That string wasn't being shown in POEdit, I've fixed it using the notepad. |
Minetest version
OS / Hardware
Operating system: Debian 9
CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (1,60GHz)
Summary
The engine does not use Italian (filename.it.tr) files, while using other languages' files.
Steps to reproduce
1 - update the italian locale file(s) from Weblate - .po .mo
2 - download the Locale Tester [Minetest forum link]
3 - check the tester's output
4 - revert to the old locale file (the one currently bundled with MT)
5 - check the tester's output
Forum's thread: [link]
Screenshot:
The text was updated successfully, but these errors were encountered: