nomadbsd / NomadBSD

Livesystem based on FreeBSD
http://nomadbsd.org
BSD 2-Clause "Simplified" License
364 stars 43 forks source link

TO DO: Add translations to nomadbsd-dmconfig #25

Open mrclksr opened 4 years ago

mrclksr commented 4 years ago

Available translations

Instructions

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

  1. Install devel/qt5-linguist and devel/qt5-linguisttools
  2. cd to src/nomadbsd-dmconfig
  3. Add locale/$${PROGRAM}_ru.ts to TRANSLATIONS in nomadbsd-dmconfig-gui.pro, and commit: git commit -m 'Add Russian translations.' nomadbsd-dmconfig-gui.pro
  4. Execute /usr/local/lib/qt5/bin/linguist nomadbsd-dmconfig-gui.pro
  5. Run linguist locale/nomadbsd-dmconfig-gui_ru.ts
  6. Add the file to the repo: git add locale/nomadbsd-dmconfig-gui_ru.ts && git commit -m 'Add Russian translation file.'
  7. Add <file>locale/nomadbsd-dmconfig-gui_ru.qm</file> to the resources.qrc, and commit: git commit -m 'Add Russian translation file.' resources.qrc
  8. Send a pull request.
reinboldg commented 4 years ago

On step 3 and 4, update nomadbsd-dmconfig.pro to nomadbsd-dmconfig-gui.pro.

mrclksr commented 4 years ago

Updated. Thanks.

MertGunduz commented 2 years ago

Hello Marcel,

I will make Turkish translation for NomadBSD dmconfig.