## New features - Implement translations for apps - Created `tt::settings::setLanguage` and `::getLanguage()` - External app errors are now reported to the user via an AlertDialog - Store system settings in `/data/settings.properties` - Created a "Region & Language" app and moved the timezone setting there. ## Other changes - Change `/data` and `/system` filesystem sector size from 4096 to 512 bytes to allow for more small files (60+ files of 4kB were over the limit of 256kB for the filesystem) - Increased size of `/data` and `/system` - Moved `tt::time::*` to `tt::settings` - Removed the timezone setting from the "Time & Date" setting app - Reverse encoder direction of Lilygo T-Lora Pager - Improved partability of `Time.cpp` (removed separate set of functions for PC/sim)
25 lines
790 B
Markdown
25 lines
790 B
Markdown
# Translations
|
|
|
|
## Requirements
|
|
|
|
- Install [LibreOffice Calc](https://libreoffice.org/)
|
|
- Ensure you have Python 3 installed (Python 2 is not supported)
|
|
|
|
## Steps
|
|
|
|
To add new translations or edit existing ones, please follow these steps:
|
|
|
|
1. Edit `Translations.ods` (see chapter below)
|
|
2. In LibreOffice Calc, select the relevant tab that you want to export
|
|
3. Click on `File` -> `Save a copy...` and save the file as `[tabname].csv` (without the "[]")
|
|
4. Repeat step 2 and 3 for all tabs that you updated
|
|
5. Run `python generate-all.py`
|
|
|
|
## Notes
|
|
|
|
- Do not commit the CSV files
|
|
- When editing the ODS file, make sure you don't paste in formatted data (use CTRL+Shift+V instead of CTRL+V)
|
|
- ODS export settings:
|
|
- Field delimiter: `,`
|
|
- String delimiter: `"`
|
|
- Encoding: `UTF-8` |