[Bug] enable makemessages for Legal Code #240
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
help wanted
Open to participation from the community
🟨 priority: medium
Not blocking but should be fixed soon
🏁 status: ready for work
Ready for work
Description
All of the 4.0 licenses Legal Code is currently in two templates:
templates/includes/legalcode_licenses_4.0.html
templates/includes/legalcode_menu_sidebar.html
However, the 4.0 licenses Legal Code is separated into six translation domains. For example, the English (source) files:
creativecommons/cc-legal-tools-data/legalcode/en/LC_MESSAGES
by-nc-nd_40.po
by-nc-sa_40.po
by-nc_40.po
by-nd_40.po
by-sa_40.po
by_40.po
This means that there is no ready way to generate/update the Gettext Files (translation messages) for each licenses translation domain.
Expectation
At a minimum, we need to be able to update the Gettext Files (translation messages) in order to:
I expect some or all of the following will need to be done:
i18n/management/commands/nofuzzy_makemessages.py
(a customization of Django'smakemessages.py
)Additional context
dev/updatemessages.sh
dev/updatemessages.sh
The text was updated successfully, but these errors were encountered: