1## Translations 2 3### To add a new translation 4 51. Update your local repo to make sure everything is up to date. 62. Open `src/translations.pri` with your favorite text editor. 73. Add a new line that says `translations/baka-mplayer_{lang-code}.ts` in the format that exists (all lines except the last require a `\`). 84. Run `./configure CONFIG+=begin_translations` to prepare your translation file. 95. Go to `src/translations/` and you will now find your language's `.ts` file. 106. Open the `.ts` file with Qt Linguist and proceed to translate into your language. 117. Upon completion of the translation, run `./configure CONFIG+=update_translations`. This will trim the .ts file to the minimum required information for release. 12 13### To update an existing translation 14 151. Update your local repo to make sure everything is up to date. 162. Run `./configure CONFIG+=begin_translations` to regenerate the `.ts` files. 173. Make your changes. 184. Run `./configure CONFIG+=update_translations` to trim the `.ts` files. 19 20If you want to submit a translation, you can create a git pull request or send it to us through irc. 21 22For more information on Qt Linguist (the program used to translate Qt projects) see http://qt-project.org/doc/qt-5/qtlinguist-index.html