Skip to content
This repository has been archived by the owner. It is now read-only.

Translating

Jerome Flesch edited this page Feb 7, 2017 · 4 revisions

Translation are done in 2 steps:

  • Extracting the strings to translate from the program and putting them in the .po files
  • Compiling .mo files containing the translations.

There is a script included in the repository to help you.

Extracting the strings

$ git clone https://github.com/jflesch/paperwork.git
$ cd paperwork
# git checkout unstable # or testing
$ ./localize.sh upd-po

Then edit locale/[your lang].po. Take care of looking at all the untranslated strings (they are empty strings ""). Take also care of checking all the fuzzy matching (look for the keyword "fuzzy", and remove it once checked)

Generating the .mo files

./localize.sh gen-mo
You can’t perform that action at this time.