-
-
Notifications
You must be signed in to change notification settings - Fork 309
Language translation
AndrOBD language translation
AndrOBD can be translated into all languages, and even dialects, which are supported and selectable by the Android native language system.
Translations may be performed in 2 different ways:
- Web based translation system using Weblate platform
- Local editing of language source files
The translatable text messages are split into 5 different components:
Component | Strings | Source location | Description | Comment |
---|---|---|---|---|
AndrOBD | 485 | Weblate only | Glossary of automotive terms | For Weblate automated suggestions - OBD/automotive knowledge helpful |
Strings | 171 | androbd/src/main/res/values-xx/ strings.xml | Messages of the AndrOBD app | Common AndrOBD app messages |
AndrOBD plugin framework | 9 | AndrOBD-libplugin src/main/res/values-xx/ strings.xml | Messages of AndrOBD-libplugin plugin framework | Common app messages |
OBD data descriptions | 499 | library/src/main/java/com/fr3ts0n/ecu/prot/obd/res/ messages_xx.properties | Textual description of OBD data items | OBD/automotive knowledge helpful |
OBD fault codes | 2635 | library/src/main/java/com/fr3ts0n/ecu/prot/obd/res/ codes_xx.properties | Textual description of OBD trouble codes | OBD/automotive knowledge needed |
Translate on Weblate
The Weblate platform does handle all needed versioning commands, commits, pull requests automatically, so there is no need to care about the change management. As a translator you can just focus on the text translations.
- Open Weblate
- Login / create a free translator account.
- Select desired component to translate
- Select- or create preferred language
- Translate strings
For more details of how to do translations on Weblate, please check the Weblate help pages.
In order to do local translation by editing source files you will need at least following tools installed on your PC:
- GIT
- Text Editor
- (optionally) Android Studio, which does offer a rather good translation editor.
- Clone / fork AndrOBD repository
- Create / Edit corresponding source files
- Commit your changes
- Push to GitHub
- Create Pull Request with your changes
Thank you to everybody who volunteers and invest personal time and effort to translate this app into any other language. I always try to include your names into the corresponding release notes.
You all do a wonderful job. Me, and most likely all other users appreciate your work. 👍