po to mo

yushang
Member
 
Posts: 10
Joined: Wed Dec 25, 2019 18:39

po to mo

by yushang » Thu Jan 09, 2020 02:22

Hi dear all,
I'm running a pre-built minetest , found the zh_CN locale is missing in locale directory , so I pull the po for zh_CN from the minetest source repository . I'v tried some online po/mo converter , but did not work. my question is how to convert po to mo correctly on Windows ? many thanks!!!
 

User avatar
Linuxdirk
Member
 
Posts: 2288
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: po to mo

by Linuxdirk » Thu Jan 09, 2020 08:50

There is Poedit, that can automatically create MO files when saving the PO file.

https://poedit.net/

Maybe there are Windows tools for just converting, too, but I don't know. On Linux there is msgfmt from the Gettext package for that.
 

User avatar
Krock
Developer
 
Posts: 4449
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: po to mo

by Krock » Thu Jan 09, 2020 17:48

FYI: It is missing in the locale because there are display issues. The text might be unreadable.

Also ensure that `font_path` and `mono_font_path` are set to a font which supports Chinese characters.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 1 guest