1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 12:21:15 +00:00

Adjust README and other documentation for Weblate.

This commit is contained in:
André Colomb 2023-11-08 18:54:44 +01:00
parent 3ad13be6ab
commit 840e656af4
3 changed files with 11 additions and 5 deletions

View file

@ -30,10 +30,10 @@ You can get logs in various ways:
## Contributing Translations ## Contributing Translations
All translations are done via All translations are done via
[Transifex](https://www.transifex.com/projects/p/syncthing-android/). If you [Hosted Weblate](https://hosted.weblate.org/projects/syncthing/android/). If you
wish to contribute to a translation, just head over there and sign up. wish to contribute to a translation, just head over there and sign up.
Before every release, the language resources are updated from the Before every release, the language resources are updated from the
latest info on Transifex. latest info on Weblate.
## Contributing Code ## Contributing Code

View file

@ -29,11 +29,17 @@ Handling feature requests use up the little time that is present to keep the app
# Translations # Translations
The project is translated on [Transifex](https://www.transifex.com/projects/p/syncthing-android/). The project is translated on [Hosted Weblate](https://hosted.weblate.org/projects/syncthing/android/).
## Dev ## Dev
Language mappings are defined in `.tx/config`, with the second code being the one from transifex. Google play supported languages: https://support.google.com/googleplay/android-developer/table/4419860. Android supported languages: https://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android. If a new language is added on transifex that's not supported, add them to `deleteUnsupportedPlayTranslations` in `app/build.gradle`. Language codes are usually mapped correctly by Weblate itself. The supported
set is different between [Google Play][1] and Android apps. The latter can be
deduced by what the [Android core framework itself supports][2]. New languages
need to be added in the repository first, then appear automatically in Weblate.
[1]: https://support.google.com/googleplay/android-developer/table/4419860
[2]: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/core/res/res/
# Building # Building

View file

@ -47,7 +47,7 @@
</issue> </issue>
<!-- Ignore lint on ... not being replaced by the ellipsis character --> <!-- Ignore lint on ... not being replaced by the ellipsis character -->
<issue id="TypographyEllipsis" severity="ignore" /> <issue id="TypographyEllipsis" severity="ignore" />
<!-- Don't fail lint on translation errors, they have to be resolved on transifex --> <!-- Don't fail lint on translation errors, they have to be resolved on Weblate -->
<issue id="ImpliedQuantity" severity="warning"> <issue id="ImpliedQuantity" severity="warning">
<ignore path="src/main/res/values-fr" /> <ignore path="src/main/res/values-fr" />
<ignore path="src/main/res/values-pt-rBR" /> <ignore path="src/main/res/values-pt-rBR" />