minetest-mods / moreblocks

More Blocks
https://content.minetest.net/packages/Calinou/moreblocks/
zlib License
45 stars 67 forks source link

Translations buggy #76

Closed sigzegv closed 5 years ago

sigzegv commented 7 years ago

I'm using lastest translations-mod version, and in the game every item with accented character in translation just displays "invalid UTF-8 string". This is related to using old interface instead of po files, I tried one translation with po system and this works fine.

codexp commented 6 years ago

I suggest converting it to po, any objections here?

here is my simple txt2po converter

Calinou commented 6 years ago

I'm OK with switching to .po files if it's well-supported. Feel free to send a pull request :slightly_smiling_face:

codexp commented 6 years ago

@sigzegv the reason is that it is not a valid UTF-8 string! French locale is encoded with latin-1 not UTF-8. I will convert it to UTF-8 while refactoring it to po format.

codexp commented 6 years ago

PR #121 will fix this issue.