- Update your local repo to make sure everything is up to date.
- Open
src/translations.priwith your favorite text editor. - Add a new line that says
translations/baka-mplayer_{lang-code}.tsin the format that exists (all lines except the last require a\). - Run
./configure CONFIG+=begin_translationsto prepare your translation file. - Go to
src/translations/and you will now find your language's.tsfile. - Open the
.tsfile with Qt Linguist and proceed to translate into your language. - Upon completion of the translation, run
./configure CONFIG+=update_translations. This will trim the .ts file to the minimum required information for release.
- Update your local repo to make sure everything is up to date.
- Run
./configure CONFIG+=begin_translationsto regenerate the.tsfiles. - Make your changes.
- Run
./configure CONFIG+=update_translationsto trim the.tsfiles.
If you want to submit a translation, you can create a git pull request or send it to us through irc.
For more information on Qt Linguist (the program used to translate Qt projects) see http://qt-project.org/doc/qt-5/qtlinguist-index.html