Skip to content

Contributing Translations

Lorenz Hoffmann edited this page Oct 23, 2022 · 3 revisions

📝 What you need

  • Qt Linguist
  • Cloned repository

💬 Translation process

  1. Run ./scripts/build_ui.sh from the repo root.
  2. Copy the pyside6-lupdate command, and replace the * in yin_yang.*.ts with your country and language code, similar to the other files under ./resources/translations/.
  3. Open the newly created file with Qt Linguist, it should be under ./resources/translations/
  4. Write your translation and save them.
  5. Run ./scripts/build_ui.sh once again.

You are finished! You can now test everything by running python main.py to see if everything worked. If you want, you can also translate the README. Finally, create a new pull request to the beta branch!

Clone this wiki locally