mirror of
https://github.com/pachli/pachli-android.git
synced 2025-02-02 10:26:54 +01:00
d7b504f31e
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.
22 lines
415 B
Markdown
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.
|