Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1561

Adding new interface languages

$
0
0
The whole thing is still a little experimental. I describe the work flow:
  1. extract a qm file from nickel
  2. create a ts file based on the qm file
  3. replace the translations in the ts file by the new translations
  4. run lrelease against the new ts file in order to create a qm file
  5. rename the new qm file after the language you intend to replace, e.g. trans_it.qm
  6. copy the new qm file to usr/local/Kobo/translations

Be aware that the language you replace defines how date and time are formatted, and may have further effects.

For now, I have done steps 1 and 2. The resulting ts files are in the uploaded archive. The archive contains two ts files one with English translations, and one with Japanese translations. Use the English ts file for languages that distinguish grammatically between singular and plural, and Japanese for languages that do not.

If you like I can do points 4 and 5 for you if you upload your ts files.

The current ts files concern FW 3.16.0. Future firmwares might require updating these files.

Attached Files
File Type: zip kobo_ts_3160.zip (227.9 KB)

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>