Topic: Translation Bug

OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 337
Ranking
Tribe Member
Location: Czech
Posted at: 2025-12-29, 19:29 UTC+1.0

Could someone check the way how the data from Transifex are transferred into .po files. There is a mistake in cz.po for gauls.wad right now. And the mistake is causing that the add-on doesn't work when Czech language is active. The mistake is on lines 3481-3488. The string is not translated in Transifex, but in .po file a wrong string is assigned. I remember having the same issue while translating Sumatrans. There were wrong strings in Encyclopedia when the translation was not completed. Thank you for checking.


Attachment: application/x-zip-compressed
gauls.wad.zip (474.4 KB)

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07 UTC+1.0
Posts: 2241
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2025-12-29, 20:35 UTC+1.0

It seems that the translation was saved with a fuzzy match that misses a placeholder. I checked the msgmerge documentation and it seems that msgmerge does fuzzy matching by default (which seems a rather unsafe default to me), so the problem was likely introduced by the add-ons server while pulling the translations from Tx. I will update the server to use --no-fuzzy-matching in these updates. Thanks for finding and reporting this.


Top Quote