-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(i18n) What should the RS do if a language value is not well formed? #1508
Comments
We don't really have much in the way of requirements for the language, though. Beyond potentially trying to guess at the page progression direction, it's only advisory metadata. We could always suggest assuming "und". Anything else seems complex and unreliable, like checking content documents for language tags. |
Specifying 'und' as a value for not well-formed entries may be a good approach. At this moment, there is not even a hint to RS-s that they should check the value. |
Useful comment: w3c/bp-i18n-specdev#36 (comment) |
The issue was discussed in a meeting on 2021-02-18 List of resolutions:
View the transcript2. Remaining i18n issuesSee github issue #1508, #1509. Wendy Reid: 2 i18n issues remain after the review Dave Cramer: the two issues are pretty intertwined
Matt Garrish: we enforce well formed, but nothing about validity Dave Cramer: a valid tag is one which matches the actual languages
Leonard Rosenthol: [here's the info](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang Matt Garrish: some of this came up in epubcheck itself, when someone complained that there was no check for lang validity Wendy Reid: also, we'd run into issues with testing this if we wanted to make this stricter Dave Cramer: matt has more or less convinced me that this isn't broken
Dave Cramer: ... the costs of fixing it are higher than the purely theoretical benefits of conforming to broadly worded i18n guidelines Dave Cramer: i propose that we close this without fixing Matt Garrish: something like WCAG could have stricter rules about lang tags, but for us its not a critical piece of metadata Ben Schroeter: i like the idea of doing some sort of warning in epubcheck
Dave Cramer: for 1508 (i.e. question of what RS should do with poorly-formed lang tag) Dave Cramer: there was a suggestion that the RS treat the lang as "und" (i.e. undefined)
Brady Duga: is this yet another untestable assertion? Matt Garrish: i suggested the "und" thing because i thought we'd done this in pub manifest as well Dave Cramer: testing it would require reading the minds of the RS Ben Schroeter: if we feel the RS wants some sort of guidance we could change the proposal to say "suggest" Matt Garrish: i think there's something worrisome about RS determining lang for the author Dave Cramer: would also add that RS don't seem to be looking for guidance
|
At the moment, the spec is silent on this...
The text was updated successfully, but these errors were encountered: