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

Improve Translation Box #160

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Improve Translation Box #160

merged 1 commit into from
Jun 20, 2024

Conversation

remibetin
Copy link
Member

@remibetin remibetin commented Jun 18, 2024

  • When the translation of WCAG guidelines and success criteria is not based on a WCAG Authorized Translation, we display a message in the translation box:

    This translation of WCAG 2 guidelines and success criteria is unofficial and might not accurately reflect the intentions of the English originals

    I suggest using the plural "English originals" since the wording comes from WCAG 2.0, 2.1 and 2.2.

    To add this message, add "wcagStatus": "unofficial" in src/locales/index.json (see Polish translation)

    Resolves Translations - Ack and disclaimer for unofficial translations #138

  • Text in the translation box is now translatable (see French translation for example): just add and translate the following lines in src/locales/<lang>/UI/COMMON.json:

      "TRANSLATION_ABOUT": "About this translation",
      "TRANSLATION_DRAFT": "This volunteer translation is a <strong>draft</strong>. It contains English wording that will be translated soon.",
      "TRANSLATION_ACK": "See <a href='https://www.w3.org/WAI/eval/report-tool/acknowledgements'>Acknowledgements</a> for all translators and contributors.",
      "TRANSLATION_UNOFFICIAL": "This translation of WCAG 2 guidelines and success criteria is <strong>unofficial</strong> and might not accurately reflect the intentions of the <a href='https://www.w3.org/WAI/standards-guidelines/wcag/#versions'>English originals</a>."
    
    Disclaimer box example

@remibetin remibetin requested review from iadawn and shawna-slh June 18, 2024 13:19
@remibetin
Copy link
Member Author

@iadawn @shawna-slh In this tool, the Polish translation of WCAG guidelines and criteria is not based on an Authorized Translation. When this is the case, this PR adds a disclaimer in the translation box. Ok for you?

@iadawn iadawn merged commit 3041b5c into main Jun 20, 2024
3 checks passed
@remibetin remibetin deleted the disclaimer-box branch June 20, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translations - Ack and disclaimer for unofficial translations
3 participants