unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63977: Incorrect language tags in case of incomplete translations
@ 2023-06-09 15:02 Maxime Devos
  2023-06-10 18:36 ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Devos @ 2023-06-09 15:02 UTC (permalink / raw)
  To: 63977


[-- Attachment #1.1.1: Type: text/plain, Size: 718 bytes --]

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.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#63977: Incorrect language tags in case of incomplete translations
  2023-06-09 15:02 bug#63977: Incorrect language tags in case of incomplete translations Maxime Devos
@ 2023-06-10 18:36 ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 2+ messages in thread
From: pelzflorian (Florian Pelz) @ 2023-06-10 18:36 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 63977-done

Maxime Devos <maximedevos@telenet.be> writes:
> 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

Done in c392a144df6c1e11ec5a672f7e2c00fbfc51f5bd.  Thank you for the
report!  I do not have a screen reader to test though.

Regards,
Florian




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-10 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-09 15:02 bug#63977: Incorrect language tags in case of incomplete translations Maxime Devos
2023-06-10 18:36 ` pelzflorian (Florian Pelz)

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).