NomadBSD icon indicating copy to clipboard operation
NomadBSD copied to clipboard

TO DO: Add translations to nomadbsd-chusr

Open mrclksr opened this issue 3 years ago • 1 comments

Available translations

  • Czech
  • German

Instructions

Let's say you want to add translations for French, you can proceed as follows:

  1. Fork the NomadBSD repository
  2. Install devel/py-qt5-pyqt and devel/qt5-linguist
  3. cd to src/nomadbsd-chusr
  4. Add locale/nomadbsd-chusr_fr.ts to TRANSLATIONS in nomadbsd-chusr.pro, and commit: git commit -m 'Add French translations.' nomadbsd-chusr.pro
  5. Run make lupdate to generate locale/nomadbsd-chusr_fr.ts
  6. Run /usr/local/lib/qt5/bin/linguist locale/nomadbsd-chusr_fr.ts to write your translations.
  7. Add the file to the repo: git add locale/nomadbsd-chusr_fr.ts && git commit -m 'Add French translation file.'
  8. Send a pull request.

mrclksr avatar Jun 20 '22 11:06 mrclksr