diff --git a/.gitmodules b/.gitmodules index 6f21e4998..2f09c7bf0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "_external/data"] path = _external/data url = https://github.com/w3c/wai-website-data.git + branch = wcag-translations-yml diff --git a/_data/standards-translations.yml b/_data/standards-translations.yml new file mode 120000 index 000000000..20fe31ea5 --- /dev/null +++ b/_data/standards-translations.yml @@ -0,0 +1 @@ +../_external/data/standards-translations.yml \ No newline at end of file diff --git a/content/translations.md b/content/translations.md index d3617a712..ca52dc49f 100644 --- a/content/translations.md +++ b/content/translations.md @@ -2,7 +2,7 @@ title: WCAG 2 Translations nav_title: "Translations" lang: en -last_updated: 2023-12-13 +last_updated: 2024-02-05 description: Links to translations of Web Content Accessibility Guidelines (WCAG) 2.2, 2.1 and 2.0. github: @@ -14,17 +14,45 @@ ref: /standards-guidelines/wcag/translations/ image: /content-images/wai-intro-wcag/wcag-intro-social.jpg footer: > -
Date: Updated 13 December 2023. First published 2 March 2009.
+Date: Updated 5 February 2023. First published 2 March 2009.
Editors: Shawn Lawton Henry, Shadi Abou_Zahra, Xueyuan Jia, Rémi Bétin.
Developed with input from the Education and Outreach Working Group (EOWG). Updated as part of the WAI-CooP project, co-funded by the European Commission.
+inline_css: | + .translation-level { + background-color: rgba(206, 205, 205, 0.5); + border-radius: 0.25rem; + display: inline-block; + margin-bottom: 0.3125rem; + padding: 0.15625rem 0.3125rem; + font-size: 0.9rem; + } + .translation-level--authorized { + background-color: var(--w3c-classic); + color: #fff; + } + + .translation-level--unofficial { + background-color: var(--cloudy); + color: #000; + } + .translations-table p{ + margin: 0.2rem 0; + } + .translations-table .translation_item:not(:first-child) { + border-top: 1px solid var(--cloudy); + padding-top: 12px; + margin-top: 1rem; + } --- {::nomarkdown} {% include box.html type="start" h="2" title="Summary" class="full" %} {:/} -This page lists translations of Web Content Accessibility Guidelines (WCAG) 2.2, 2.1 and 2.0. Translations of other accessibility resources are listed in **[All WAI Translations](https://www.w3.org/WAI/translations/)**. +This page lists translations of Web Content Accessibility Guidelines (WCAG) 2.2, 2.1 and 2.0. + +Translations of other accessibility resources are listed in **[All WAI Translations](https://www.w3.org/WAI/translations/)**. {::nomarkdown} {% include box.html type="end" %} @@ -43,351 +71,223 @@ This page lists translations of Web Content Accessibility Guidelines (WCAG) 2.2, {% include_cached toc.html type="end" %} {:/} - ## Types of Translations Two types of translations are listed on this page: -- _[Authorized Translations](http://www.w3.org/2005/02/TranslationPolicy)_ follow a formal review process and are endorsed by W3C. +- _[Authorized Translations](https://www.w3.org/2005/02/TranslationPolicy)_ follow a formal review process and are endorsed by W3C. - _Unofficial translations_ are not reviewed and are not endorsed by W3C. -## WCAG 2.2 Completed and Planned Translations +{% assign wcag = site.data.standards-translations | where_exp: "item", "item.standard == 'wcag'" | map: "versions" %} +{% assign wcag20 = wcag[0] | where_exp: "item", "item.version == 2.0" | first %} +{% assign wcag21 = wcag[0] | where_exp: "item", "item.version == 2.1" | first %} +{% assign wcag22 = wcag[0] | where_exp: "item", "item.version == 2.2" | first %} +{% assign wcag20_trans = wcag20.translations | group_by: "lang" %} +{% assign wcag21_trans = wcag21.translations | group_by: "lang" %} +{% assign wcag22_trans = wcag22.translations | group_by: "lang" %} + +## WCAG 2.2 -