1

I have followed the instructions at the Elementary Getting Started (Translations) to set up the translations and I have a few translated languages including French in the po directory (fr.po). I can also see the file /usr/share/locale/fr/LC_MESSAGES/bookworm.mo is present. However when I run Bookworm with:

LANGUAGE=fr bookworm

I dont see the translated strings in french. Only the About Dialog has the translations showing up. Using the same command with Noise works great and I have compared the translations and CMakeLists for Noise but could not find any differences.

The bookworm code is on GitHub for anyone wanting to take a look at the CMakeFiles.txt. Appreciate any pointers on what I may be doing wrong in the code for the translated strings not working.

Thanks in advance. enter image description here

2

This issue was due to a line in the code pointing at a wrong place for the translations:

Intl.bindtextdomain(GETTEXT_PACKAGE, "./locale");

Many thanks to Corentin Noel for spotting the issue.

  • Mark your question as solved! – Fultie Aug 7 '17 at 16:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.