diff --git a/Localizations/README.md b/Localizations/README.md new file mode 100644 index 000000000..fecd37d35 --- /dev/null +++ b/Localizations/README.md @@ -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. diff --git a/Localizations/duplicati/README.md b/Localizations/duplicati/README.md new file mode 100644 index 000000000..801557401 --- /dev/null +++ b/Localizations/duplicati/README.md @@ -0,0 +1,4 @@ +# Autogenerated files! + +Please do not modify these files as they are autogenerated. +See the [Localization README](../README.md) for details. diff --git a/Localizations/webroot/README.md b/Localizations/webroot/README.md new file mode 100644 index 000000000..801557401 --- /dev/null +++ b/Localizations/webroot/README.md @@ -0,0 +1,4 @@ +# Autogenerated files! + +Please do not modify these files as they are autogenerated. +See the [Localization README](../README.md) for details.