SOLUTION: viewtopic.php?f=6&t=23096&p=354893#p354893
Locale Tester: viewtopic.php?f=6&t=23096&p=354731#p354825
GitHub issue report: https://github.com/minetest/minetest/issues/8809
1: Minetest's GUI --- language = de, language = fr, language = it
2: Locale file, check the filename and the test string.
3: Ingame outcome, zoom on Inventory's tooltip
(Fixed)Italian locale file (filename.it.tr) not being loaded
- Hamlet
- Member
- Posts: 766
- Joined: Sat Jul 29, 2017 21:09
- IRC: H4mlet
- In-game: Hamlet
- Location: Lombardy, Italy
(Fixed)Italian locale file (filename.it.tr) not being loaded
- Attachments
-
- i18n_bug.jpg (361.73 KiB) Viewed 225 times
Last edited by Hamlet on Sun Aug 18, 2019 16:03, edited 5 times in total.
My repositories: Codeberg.org | My ContentDB's page
Re: Italian locale file (filename.it.tr) not being loaded
I recently had a bug like that, that was caused by several mods initializing the same object and for some reasons, the order of loading differed and one of the mods did not localize strings.
I would recommend to check that you have only one mod initializing the Recipe book and no name conflicts between mods showing during initialization (it shows in debug.txt).
I would recommend to check that you have only one mod initializing the Recipe book and no name conflicts between mods showing during initialization (it shows in debug.txt).
- Hamlet
- Member
- Posts: 766
- Joined: Sat Jul 29, 2017 21:09
- IRC: H4mlet
- In-game: Hamlet
- Location: Lombardy, Italy
Re: Italian locale file (filename.it.tr) not being loaded
Thank you for your feedback; the debug.txt doesn't show any errors, furthermore the game - MineClone 2 - has been fully translated to German, when using language = de it works properly.Yvanhoe wrote: I would recommend to check that you have only one mod initializing the Recipe book and no name conflicts between mods showing during initialization (it shows in debug.txt).
I have opened a bug report on GitHub if you wish to follow. [link]
My repositories: Codeberg.org | My ContentDB's page
- Hamlet
- Member
- Posts: 766
- Joined: Sat Jul 29, 2017 21:09
- IRC: H4mlet
- In-game: Hamlet
- Location: Lombardy, Italy
Re: Italian locale file (filename.it.tr) not being loaded
MT v5.0.1 and MTG v5.0.1 are correctly loading locale files. This seems to be an issue related to MineClone 2 v0.53.3.
I have created a "tester node" to check which locale file is currently loaded.
While in creative mode take it from the inventory, place it on ground and punch it, it will tell you which locale has been loaded for you.
I have created a "tester node" to check which locale file is currently loaded.
While in creative mode take it from the inventory, place it on ground and punch it, it will tell you which locale has been loaded for you.
- Attachments
-
- locale_tester.7z
- (14.54 KiB) Downloaded 44 times
My repositories: Codeberg.org | My ContentDB's page
- Hamlet
- Member
- Posts: 766
- Joined: Sat Jul 29, 2017 21:09
- IRC: H4mlet
- In-game: Hamlet
- Location: Lombardy, Italy
Re: (NAB) Italian locale file (filename.it.tr) not being loa
The issue is due to Weblate.
If you use the bundled italian .po file, the locale will be properly set.
Instead, if you use the updated .po file [link] or .mo file [link], the locale will fall back to English.
If you use the bundled italian .po file, the locale will be properly set.
Instead, if you use the updated .po file [link] or .mo file [link], the locale will fall back to English.
My repositories: Codeberg.org | My ContentDB's page
- Hamlet
- Member
- Posts: 766
- Joined: Sat Jul 29, 2017 21:09
- IRC: H4mlet
- In-game: Hamlet
- Location: Lombardy, Italy
Re: Italian locale file (filename.it.tr) not being loaded
Problem solved, it was due to this section of the .po file that was not being shown in POEdit:
This happened because I've redone the translation from scratch; setting it to:
has fixed the issue.
Thanks to SmallJoker, that has solved the mystery.
Code: Select all
#: src/network/clientpackethandler.cpp
msgid "LANG_CODE"
msgstr "LANG_CODE"
Code: Select all
#: src/network/clientpackethandler.cpp
msgid "LANG_CODE"
msgstr "it"
Thanks to SmallJoker, that has solved the mystery.
My repositories: Codeberg.org | My ContentDB's page
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: (Fixed)Italian locale file (filename.it.tr) not being lo
No problem. Before you create an issue about the poor documentation of those magic translation strings, check out https://github.com/minetest/minetest/issues/8178.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests