File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,35 @@ Documentation:
55
55
[ repodata ] : https://github.com/creativecommons/cc-legal-tools-data
56
56
57
57
58
+ ## Add translation
59
+
60
+ 1 . Add language to appropriate resource in Transifex
61
+ 2 . Ensure language is present in Django
62
+ - If not, update ` cc_legal_tools/settings/base.py `
63
+ 3 . Add objects for new language translation using the ` add_objects ` management
64
+ command.
65
+ - Examples:
66
+ ``` shell
67
+ docker compose exec app ./manage.py add_objects -v2 --licenses -l tlh
68
+ ```
69
+ ` ` ` shell
70
+ docker compose exec app ./manage.py add_objects -v2 --zero -l tlh
71
+ ` ` `
72
+ 4. Synchronize repository Gettext files with Transifex
73
+
74
+
75
+ # # Synchronize with Transifex
76
+
77
+ - ** TODO** document processes of synchronizing the repository Gettext files
78
+ with Transifex, including the following management commands:
79
+ - ` locale_info`
80
+ - ` normalize_translations`
81
+ - ` compare_translations`
82
+ - ` pull_translation`
83
+ - ` push_translation`
84
+ - ` compilemessages`
85
+
86
+
58
87
# # Check for translation updates
59
88
60
89
> :warning: ** This functionality is currently disabled.**
You can’t perform that action at this time.
0 commit comments