duplicati/Localizations/README.md
2024-08-30 13:26:36 +02:00

31 lines
1 KiB
Markdown

# Localization flow
The localization is handled via [Transifex](https://transifex.com/duplicati) and all text work should go through Transifex.
Please do not modify the `.po`/`.mo` files found here.
# Updating Transifex strings
When the codebase changes, the strings can be extracted and sent to Transifex by running:
```bash
./extract_all.sh
./push_source_files_to_transifex.sh
```
This will update all information in Transifex and let translators know what has changed and what is missing.
Note that this is a messy process that will cause line-ending changes in most files, so it is best done when there are no pending git changes on the local copy.
After running the process, simply discard the changes.
# Updating the .mo/.po files
When new work has been performed in Transifex, this can be pulled and applied to the source:
```bash
./pull_from_transifex.sh
./compile_all.sh
```
This will change the local files have the new changes.
After inspecting the changes, this can be used to make a PR with updates.