NomadBSD icon indicating copy to clipboard operation
NomadBSD copied to clipboard

TO DO: Add translations to nomadbsd-dmconfig

Open mrclksr opened this issue 4 years ago • 3 comments

Available translations

  • Czech
  • French
  • German
  • Indonesian
  • Russian

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.

mrclksr avatar Nov 20 '19 11:11 mrclksr

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

reinboldg avatar Dec 17 '19 18:12 reinboldg

Updated. Thanks.

mrclksr avatar Dec 17 '19 18:12 mrclksr

Hello Marcel,

I will make Turkish translation for NomadBSD dmconfig.

MertGunduz avatar Jun 28 '22 07:06 MertGunduz