Skip to content

TRANSLATING

Matt Postiff edited this page Jun 17, 2019 · 4 revisions

To translate the interface of Bibledit-Desktop, do the following (example language is es=Espanol=Spanish):

  1. Install poedit. On Ubuntu: sudo apt install poedit or sudo apt install potool
  2. Copy bibledit-desktop/po/bibledit-desktop.pot (The extension stands for "portable object template.") to bibledit-desktop/po/es.po
  3. Open the file bibledit-desktop/po/es.po with poedit
  4. Make your translations in poedit. This is where all the work is. Save often.
  5. Save your work in poedit. It will automatically create a file called es.mo. (This stands for machine object.)
  6. Make sure the filename of the .mo file is bibledit-desktop.mo. You can do this when you copy the .mo file into /usr/share/locale/es/LC_MESSAGES. To do this: cd bibledit-desktop/po and sudo cp es.mo /usr/share/locale/es/LC_MESSAGES/bibledit-desktop.mo
  7. Test Bibledit-Desktop with this translation.
  8. Go back to step 3 to fix or improve your translation.
  9. Add 'es' in the file po/LINGUAS. This ensures that the proper language files are copied when 'make install' is run

Clone this wiki locally