diff --git a/README.md b/README.md index d373514..78db531 100644 --- a/README.md +++ b/README.md @@ -38,42 +38,9 @@ height="80">](https://github.com/Kr0oked/Compass/releases/latest) ## Translations -If you want to provide a new translation or update an existing one you can find some instructions -[here](doc/translations.md). +Translations can be added on [Weblate](https://hosted.weblate.org/engage/compass/). -| Code | Language | App | Metadata | Complete | -|-----------|----------------------|--------------------|--------------------|--------------------| -| *default* | English | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| ar | Arabic | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| bg | Bulgarian | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| bs | Bosnian | :white_check_mark: | :heavy_minus_sign: | :white_check_mark: | -| cs | Czech | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| da | Danish | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| de | German | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| el | Greek | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| es | Spanish | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| fa | Persian | :white_check_mark: | :white_check_mark: | :x: | -| fi | Finnish | :white_check_mark: | :white_check_mark: | :x: | -| fr | French | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| hi | Hindi | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| hr | Croatian | :white_check_mark: | :white_check_mark: | :x: | -| hu | Hungarian | :white_check_mark: | :white_check_mark: | :x: | -| it | Italian | :white_check_mark: | :white_check_mark: | :x: | -| ja | Japanese | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| mk | Macedonian | :white_check_mark: | :white_check_mark: | :x: | -| nb | Norwegian Bokmål | :white_check_mark: | :x: | :x: | -| nl | Dutch | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| pl | Polish | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| pt-BR | Brazilian Portuguese | :white_check_mark: | :white_check_mark: | :x: | -| ru | Russian | :white_check_mark: | :white_check_mark: | :x: | -| sr | Serbian | :white_check_mark: | :white_check_mark: | :x: | -| sv | Swedish | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| ta | Tamil | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| tr | Turkish | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| uk | Ukrainian | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| uz | Uzbek | :white_check_mark: | :heavy_minus_sign: | :white_check_mark: | -| vi | Vietnamese | :white_check_mark: | :white_check_mark: | :x: | -| zh | Chinese | :white_check_mark: | :white_check_mark: | :white_check_mark: | +[![Translation status](https://hosted.weblate.org/widget/compass/multi-auto.svg)](https://hosted.weblate.org/engage/compass/) ## License diff --git a/doc/translations.md b/doc/translations.md deleted file mode 100644 index 7966416..0000000 --- a/doc/translations.md +++ /dev/null @@ -1,55 +0,0 @@ -# Translations - -You want to contribute a new translation or update an existing one? -Already thanks in advance for your effort! -Here are some instructions that you can follow. - -## Instructions for non developers - -I need two types of translations from you. -The first one is for the texts that are displayed in the app. -And the second one is for the texts that are displayed in the app stores. - -For the first one you can use this English [strings.xml](../app/src/main/res/values/strings.xml) file as a template. -Create a new file with the same content and replace the text between the `...` tags with -a matching translation. -Some texts here contain special characters. -Please keep them in your texts as well. -`\n` creates a new line. -And `%1$s`, `%2$s` and `%1$d` are placeholders for text that the app generates dynamically. - -For the second one you can use these three English files as templates: -[title.txt](../fastlane/metadata/android/en-US/title.txt), -[short_description.txt](../fastlane/metadata/android/en-US/short_description.txt) and -[full_description.txt](../fastlane/metadata/android/en-US/full_description.txt). -Just create translated versions of these files. - -Now you can provide me the four translated files with the information for which specific language it is. -In the best case provide one of the language codes that are listed -[here](https://android.googlesource.com/platform/frameworks/base/+/android-10.0.0_r1/core/res/res/values/locale_config.xml). -You can either send a mail to and attach all the information. -Or you can open an issue here at [GitHub](https://github.com/Kr0oked/Compass/issues) and attach all the information. -I will take care to include your translation in the app. - -## Instructions for developers - -Please read the instructions for non developers first. -You need to translate the same files as described there. - -For the strings.xml file, place it in a new appropriate directory in the [app/src/main/res](../app/src/main/res) -directory. -If the language can be used independent of the region then e.g. `values-de` is suitable for a German translation. -But if the region matters as for Brazilian Portuguese then e.g. `values-pt-rBR` is appropriate. -You don't have to include strings with the `translatable="false"` attribute. - -For the app store texts, place them in a new appropriate directory in -the [fastlane/metadata/android](../fastlane/metadata/android) directory. -The suffix of this directory is different from the directory of the app texts. -You can find the correct suffix in this -[list](https://support.google.com/googleplay/android-developer/answer/9844778?hl=en#zippy=%2Cview-list-of-available-languages). -You don't have create any images for your translation like the screenshots. -I will take care of them later on. - -You can also update the translations table in the [README](../README.md) file. - -Then open a new [pull request](https://github.com/Kr0oked/Compass/pulls) with your changes an I will check it.