[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63977: Incorrect language tags in case of incomplete translations
From: |
Maxime Devos |
Subject: |
bug#63977: Incorrect language tags in case of incomplete translations |
Date: |
Fri, 9 Jun 2023 17:02:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 |
On the French part of the website,
https://guix.gnu.org/fr/blog/2023/parameterized-packages-for-gnu-guix/,
we have an lang="fr" attribute for the 'html' tag:
<html lang="fr"> [...] </html>
This is fine.
This French web page has an English blog post. This is OK, HTML
supports that. Just put a "lang="en"' attribute in the 'article' tag
and the spec is happy, spell-check works, screen readers interpret
things properly, ...
This is, however, not done currently:
<article class="page centered-block limit-width">
Currently, blog posts are never translated at all, so fixing this should
just be a matter of unconditionally adding 'lang="en"' to all <article ...>.
Greetings,
Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
- bug#63977: Incorrect language tags in case of incomplete translations,
Maxime Devos <=