mirror of
https://github.com/duplicati/duplicati.git
synced 2026-05-06 07:16:38 -04:00
Added README files to explain the localization process
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# 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.
|
||||
@@ -0,0 +1,4 @@
|
||||
# Autogenerated files!
|
||||
|
||||
Please do not modify these files as they are autogenerated.
|
||||
See the [Localization README](../README.md) for details.
|
||||
@@ -0,0 +1,4 @@
|
||||
# Autogenerated files!
|
||||
|
||||
Please do not modify these files as they are autogenerated.
|
||||
See the [Localization README](../README.md) for details.
|
||||
Reference in New Issue
Block a user