BoxBuddyRS/po
2024-10-25 13:31:22 +02:00
..
cs/LC_MESSAGES compile translatons 2024-06-17 07:38:57 +01:00
de_DE/LC_MESSAGES Auto-updated translations 2024-06-14 09:15:27 +02:00
el/LC_MESSAGES Auto-updated translations 2024-06-14 09:15:27 +02:00
es/LC_MESSAGES Auto-updated translations 2024-06-14 09:15:27 +02:00
fr_FR/LC_MESSAGES Auto-updated translations 2024-06-14 09:15:27 +02:00
hi/LC_MESSAGES version bump 2024-08-30 19:05:38 +01:00
it_IT/LC_MESSAGES Update it_IT.po 2024-08-31 11:09:53 +02:00
nl_NL/LC_MESSAGES compile translations, bump version 2024-06-18 16:32:20 +01:00
pl_PL/LC_MESSAGES polish translations {pl_PL) 2024-10-25 13:31:22 +02:00
pt_BR/LC_MESSAGES version bump 2024-08-30 19:05:38 +01:00
ru_RU/LC_MESSAGES Auto-updated translations 2024-06-14 09:15:27 +02:00
uk_UA/LC_MESSAGES Auto-updated translations 2024-06-14 09:15:27 +02:00
zh_CN/LC_MESSAGES adjust zh translations 2024-09-09 14:30:22 +01:00
zh_TW/LC_MESSAGES adjust zh translations 2024-09-09 14:30:22 +01:00
boxbuddy.pot bump gettext, replace uses of gettext macro with format, bump flatpak gnome runtime 2024-10-15 17:50:31 +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