Update Internationalization docs and add translator list function to i18n_tool.py #4492
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Status
Ready for review
Description of Changes
Restructured the Internationalization docs (
docs/development/i18n.rst
) to make the order of operations clearer for developers and localization managers. Updated the process now that string and feature freeze are synchronized.Added a
list-translators
function toi18n_tool.py
to simplify translator attribution at release time.Fixes #4441.
Testing
Run
make docs
, navigate to http://localhost:8000/development/i18n.html and read critically.Test the
i18n_tools.py
changes withmake -C securedrop list-translators
andmake -C securedrop list-all-translators
.Deployment
This is pretty much dev-only and shouldn't affect deployment, as the changes to
i18n_tool.py
didn't involve compilation.Checklist
If you made non-trivial code changes:
If you made changes to documentation:
make docs-lint
) passed locally