No translation on Windows ?

Do you need help? Ask here!

Bug reporting belongs here:

No translation on Windows ?

Postby Vincent » 08 Sep 2016, 17:49

It looks like the Windows version of wz2100 doesn't ship with translations. The binary build doesn't allow to change the locale (it's always "system locale" and English strings) and the instructions on the wiki doesn't tell how to enable them.
I'm trying to add i18n support on the visual studio sln but I'm not sure how to do it properly. I got libintl/iconv/gettext support but I'm not sure what I need to do to convert the po file into file that gettext can read. Does gettext need a single big .mo file per langage or does it need one per .cpp file ? And what is the expected directory layout ?
Posts: 103
Joined: 06 Aug 2016, 17:24

Re: No translation on Windows ?

Postby Cyp » 08 Sep 2016, 22:21

The directory structure here is /usr/share/locale/fr/LC_MESSAGES/, where fr can be any locale and is a single big .mo file per language. And LC_MESSAGES/ also contains translations for other programs.
Posts: 702
Joined: 17 Jan 2010, 23:35

Return to Technical Help / Troubleshooting