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

22 lines
415 B
Markdown

# 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:
```shell
./runtools mklanguages
```
Verify the modifications made to the Pachli resource files, and commit the result.