Commit Graph

2 Commits

Author SHA1 Message Date
Ankush Dutt
74dff32dd9 I18N: Add script to generate translated strings.xml and fake cpp
- Add a python script (generate-android-i18n-strings.py)
 that generates the translated android strings.xml as per:
 https://developer.android.com/guide/topics/resources/providing-resources#AlternativeResources
 It considers the dists/android/res/values/strings.xml file as
 a base template to generate those translated strings.xml files.

- The python script also generates a fake cpp with strings from
 dists/android/res/values/strings.xml. These strings will be picked
 up by gettext to make it translatable. If there is any change in the
 original strings.xml file, we won't have to worry about the changes
 in cpp file.

- Add documentation for the generate-android-i18n-strings.py script
2023-05-14 22:40:50 +02:00
Ankush Dutt
1dae65f670 I18N: Add dummy cpp file to make android strings.xml translatable 2023-05-14 22:40:50 +02:00