diff --git a/_data/eupl-translations.yml b/_data/eupl-translations.yml new file mode 100644 index 000000000..3ddf5904b --- /dev/null +++ b/_data/eupl-translations.yml @@ -0,0 +1,8 @@ +EUPL-1.1: + label: EUPL-1.1 + official_translations: https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-11 + note: Official EUPL 1.1 text in 22 languages of the European Union (Joinup). +EUPL-1.2: + label: EUPL-1.2 + official_translations: https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12 + note: Official EUPL 1.2 text in 23 languages of the European Union (Joinup). diff --git a/_includes/eupl-translations.html b/_includes/eupl-translations.html new file mode 100644 index 000000000..2e5354567 --- /dev/null +++ b/_includes/eupl-translations.html @@ -0,0 +1,8 @@ +{% assign eupl = site.data.eupl-translations[page.spdx-id] %} +{% if eupl %} +
+

Official translations

+

{{ eupl.note }}

+

EU translations on Joinup

+
+{% endif %} diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 414c19106..0a7c64928 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -54,4 +54,6 @@

Who’s using this license?

{% endif %} + {% include eupl-translations.html %} +