Skip to content
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

Description of lang incorrect #1082

Open
aphillips opened this issue May 15, 2023 · 0 comments
Open

Description of lang incorrect #1082

aphillips opened this issue May 15, 2023 · 0 comments
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on.

Comments

@aphillips
Copy link

lang member
https://w3c.github.io/manifest/#lang-member

The manifest's lang member is a string in the form of a language tag that specifies the primary language for the values of the manifest's localizable members (as knowing the language can also help with directionality).

The above description of the lang member should not refer to the "primary language", since that has specific meaning in a language tag. It should just say "language".

The parenthetical as knowing the language can also help with directionality is not correct. Language metadata is used for many things--font selection, spelling correction, hyphenation, styling, and so forth. Voice selection for accessibility is another key use. However, while the language can sometimes be used to help estimate the direction, this is not recommended and, given the use of dir and its default of auto in this specification, should not even be mentioned (as the lang MUST NOT be used to estimate the direction when there is metadata provided). Instead this section should mention the other Good Things that language metadata can provide.

@aphillips aphillips added the i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on.
Projects
None yet
Development

No branches or pull requests

1 participant