Useful scripts for the translation.
Extract and build a translation dictionary for terminologies across different .po files to maintain consistency.
Main script that processes all .po files and extracts terminology:
python3 .scripts/extract_terminology.pyGenerates terminology_dictionary.csv with all extracted terms and their translations.
Creates a curated dictionary focusing on the most important Python terminology:
python3 .scripts/create_focused_dictionary.pyGenerates focused_terminology_dictionary.csv with categorized high-priority terms.
See the terminology documentation for detailed usage and integration with translation workflow.
Translate all untranslated entries of the given .po file with Google Translate.
.scripts/google_translate.sh library/csv.poIf a specific doc has been translated into Simplified Chinese (zh_CN) and you'd like to adopt it as a base, you can insert the command:
.scripts/from_cn.sh library/csv.po