Re: [clreq] Add Chinese language font stacks, addresses #184

> I noticed that the generated elements at the top of the document, version and editor names etc., do not have the language attribute on them, is there any way we can add them,

I added an h1 element to the body with language tags for the Chinese text. This overrides the default respec behaviour of taking the h1 from the title element. It's actually something i asked respec to enable a while ago, but i never got around to applying the solution to clreq.

I also added spans with lang attributes to the names of the editors (past and present). However, i wasn't able to do the same for the company names, and raised a bug against respec about that (se link above).

I think the lead in text such as "This Version" and "Latest published version:" etc, should work fine, since it inherits the language set on the html tag (which changes when you switch languages).

-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at https://github.com/w3c/clreq/pull/185#issuecomment-408820714 using your GitHub account

Received on Monday, 30 July 2018 10:35:40 UTC