Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] enable makemessages for Legal Code #240

Open
TimidRobot opened this issue Dec 21, 2021 · 1 comment
Open

[Bug] enable makemessages for Legal Code #240

TimidRobot opened this issue Dec 21, 2021 · 1 comment
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
Projects

Comments

@TimidRobot
Copy link
Member

Description

All of the 4.0 licenses Legal Code is currently in two templates:

  1. templates/includes/legalcode_licenses_4.0.html
  2. 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:

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:

  1. ensure any template changes have not impacted the translation messages
  2. update location comments

I expect some or all of the following will need to be done:

Additional context

@TimidRobot TimidRobot added help wanted Open to participation from the community 🟨 priority: medium Not blocking but should be fixed soon 🏁 status: ready for work Ready for work 🛠 goal: fix Bug fix 💻 aspect: code Concerns the software code in the repository labels Dec 21, 2021
@TimidRobot TimidRobot added this to Pending Review in Backlog via automation Dec 21, 2021
@TimidRobot TimidRobot moved this from Pending Review to License Infrastructure in Backlog Dec 21, 2021
@cc-open-source-bot cc-open-source-bot added this to Ready for Development in Active Sprint Dec 21, 2021
@cc-open-source-bot cc-open-source-bot removed this from Ready for Development in Active Sprint Dec 21, 2021
@SVusal
Copy link

SVusal commented Feb 26, 2022

Описание

Все лицензии 4.0 Legal Code в настоящее время представлены в двух шаблонах:

  1. templates/includes/legalcode_licenses_4.0.html
  2. templates/includes/legalcode_menu_sidebar.html

Тем не менее, Юридический кодекс лицензий 4.0 разделен на шесть переводческих доменов. Например, английские (исходные) файлы:

Это означает, что нет готового способа генерировать/обновлять файлы Gettext (сообщения о переводе) для каждого домена перевода лицензий.

Ожидание

Как минимум, нам нужно иметь возможность обновлять файлы Gettext (сообщения перевода), чтобы:

  1. Убедитесь, что изменения шаблона не повлияли на сообщения о переводе
  2. комментарии к расположению обновления

Я ожидаю, что необходимо будет сделать некоторые или все из следующих действий:

Дополнительный контекст

  • Обратите внимание, что многие ссылки GitHub являются постоянными ссылками и могут не представлять самую последнюю версию файла.
  • Gettext Files - Определения - creativecommons/cc-legal-tools-data
  • Переводы Юридического кодекса
    • Переводы Юридического кодекса должны оставаться отдельными от переводов Deeds & UX. Переводы Юридического кодекса имеют гораздо более жесткое управление изменениями, поскольку они представляют собой юридический текст.
    • В идеале должна быть только одна область перевода, но устаревшие инструменты процесса перевода привели к различным переводам между лицензиями, если исходный текст идентичен.
  • Переводы документов и UX
    • Хотя переводы Deeds & UX не входят в сферу действия этой проблемы, может быть полезно знать, что существует два скрипта для управления генерацией / обновлением их файлов Gettext (сообщений перевода):
  • Потенциальные инструменты (если Django не может быть настроен для произвольных доменов перевода):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Backlog
  
Legal Tools
Development

No branches or pull requests

2 participants