- Fork Mizuu.
- Read the guidelines on how to translate strings below.
git checkout -b branch-name-language dev
and commit your translations.- When you think your translations are done, start a pull request against the dev branch.
- Locate the original strings in /res/values/strings.xml
- Check if the strings have already been translated into the language you want to translate to. You can do that by checking /res/ folder and look for values-##, where ## represents the ISO 639-1 code of the language, i.e.
values-da
for Danish. - If the language folder exists, you can check previous translations and add missing ones. If the folder doesn't exist, you can create it and add translations.
- See the section below for specific translation examples
<string name="chooserMovies">Movies</string>
... gets translated into this (for Danish):
<string name="chooserMovies">Film</string>
Some strings have explanations / context descriptions. Please refer to these, if you have any questions or doubts, or alternatively contact me or mention it in the pull request.
<plurals name="moviesInLibrary">
<item quantity="one">movie</item>
<item quantity="other">movies</item>
</plurals>
... gets translated into this (for Danish):
<plurals name="moviesInLibrary">
<item quantity="one">film</item>
<item quantity="other">film</item>
</plurals>
Some languages include words for many different quantities. You may add or remove these quantities to match the specific language. Valid quantities are: "zero", "one", "two", "few", "many", "other".