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

How do we handle showing text and links are in another language? #35

Closed
maryjom opened this issue Feb 17, 2017 · 6 comments
Closed

How do we handle showing text and links are in another language? #35

maryjom opened this issue Feb 17, 2017 · 6 comments

Comments

@maryjom
Copy link
Collaborator

maryjom commented Feb 17, 2017

For example, in France the title of their standard is in French. How do we mark up that language change in the prototype code?

In addition, the links will go to a French language page. Should there be some indication that the link takes you to a French-only page?

@yatil yatil self-assigned this Feb 28, 2017
@yatil
Copy link
Contributor

yatil commented Feb 28, 2017

Eric to work on this issue and make sure we can optionally have English and Original language title and attach the corresponding lang attributes.

@iamjolly iamjolly added this to the Policies Launch milestone Apr 24, 2017
@iamjolly
Copy link
Contributor

iamjolly commented May 5, 2017

Is this still something we feel is necessary for the Policies Launch? Or, is this more of a Post-Launch Enhancement?

We can use the hreflang attribute to advise of the language of the linked page/document. But, User Agents (browsers) may not do anything with that in terms of alerting the user.

Should we (instead of or in addition to the hreflang attribute) provide a brief bit of informative text within the anchor text to have the language visible? An example of this might be: Law N° 2005-102 Article 47 (French/Français)

Other ideas are welcome.

@vuxcaleb
Copy link

vuxcaleb commented May 5, 2017

I do not feel this is a show stopper before publishing but I agree with @iamjolly. W3 has a doc called Indicating the language of a link destination which describes using hreflang attr with a CSS snippet which displays the country code value as the display.

Live Demo

@yatil
Copy link
Contributor

yatil commented May 5, 2017

From the meeting on 2017-05-05:

RESOLUTION: Link text will be the English title of the external document The native language title will appear in unlinked parentheses. A note that links may go to other languages will be presented in the introductory text. The issue will be revisited after launch.

@shawna-slh
Copy link
Contributor

shawna-slh commented May 10, 2017

Basic usability is that users should know what a link goes to. Users should not have to click a link to find out what language the document is in.

I feel pretty strongly that the link should be on the language of the document. That is, if the document is in non-English language, then the document title in that language should be the link.

(fyi, here's the formatting we used before however, I do not think that we need to include [language] before links in that language.)

@maryjom
Copy link
Collaborator Author

maryjom commented May 12, 2017

@yatil One more case to take care of. See France. The title of the French standard in the standards.yaml file is French. Great job on the others though!

@yatil yatil closed this as completed in 3eed0aa May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants