pachli-android/tools/mklanguages
Nik Clayton d7b504f31e
change: Add tools/mklanguages
The existing language list is incomplete, sorted incorrectly and does
not use the correct language names.

Add a small tool that parses the resource directories that contain
string translations, determines the correct language name and sort
order, and updates the correct application resources so language
lists are displayed correctly.
2023-09-04 20:22:05 +02:00
..
src change: Add tools/mklanguages 2023-09-04 20:22:05 +02:00
README.md change: Add tools/mklanguages 2023-09-04 20:22:05 +02:00
build.gradle.kts change: Add tools/mklanguages 2023-09-04 20:22:05 +02:00

README.md

mklanguages

Synopsis

mklanguages ensures that the language list in Pachli is:

  • Up to date
  • Sorted according to ICU guidelines
  • Uses language names according to ICU guidelines

Use mklanguages whenever a new language is added to Pachli.

Usage

From the parent directory, run:

./runtools mklanguages

Verify the modifications made to the Pachli resource files, and commit the result.