BoxBuddyRS/po
2024-02-09 16:43:55 +00:00
..
de_DE/LC_MESSAGES de translation fix 2024-02-09 16:43:55 +00:00
it_IT/LC_MESSAGES remove unneeded po 2024-02-01 18:43:55 +00:00
pt_BR/LC_MESSAGES potfile and br translations compiled 2024-02-08 17:34:05 +00:00
ru_RU/LC_MESSAGES add make translate script to generate mo files 2024-01-27 16:51:38 +00:00
uk_UA/LC_MESSAGES add make translate script to generate mo files 2024-01-27 16:51:38 +00:00
boxbuddy.pot Update german transalation 2024-02-08 19:55:44 +01:00
README.md add make translate script to generate mo files 2024-01-27 16:51:38 +00:00

Translations

To add a new translation

  • Make a folder here named after the locale, e.g. mkdir fr_FR
  • Make a folder inside there called LC_MESSAGES, e.g. mkdir fr_FR/LC_MESSAGES
  • Copy boxbuddy.pot to your-locale.po inside that folder, e.g. cp boxbuddy.pot fr_FR/LC_MESSAGES/fr_FR.po
  • Fill in the translations in your new .po file. This can be done using https://poedit.net
  • (Optional) compile your .po to an .mo by running make translate.
    • I don't mind doing this step, so please feel free to commit a PR with just the new .po file
  • Make a Pull Request as normal.

Testing a translation

  • Open up src/utils.rs and find the comment which starts with --TRANSLATORS:
  • Comment out the if/else statement below by adding // to the start of the lines
  • Run cargo run as normal