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

When switching language, users should keep their present context #89

Open
cnrdh opened this issue May 23, 2023 · 2 comments
Open

When switching language, users should keep their present context #89

cnrdh opened this issue May 23, 2023 · 2 comments
Assignees

Comments

@cnrdh
Copy link
Member

cnrdh commented May 23, 2023

  1. All routes should canonicalize their current URL and alternate language URL
  2. Inject link rel alternate in all pages
  3. Set alternate also as http header for crawlers
  4. Provide a service that the language switcher may use to get alternate lang URL

For news articles, alternate URLs are set by reciprocal alternate linking

@cnrdh
Copy link
Member Author

cnrdh commented May 24, 2023

#91 Injected a human visble URL for the few translated articles.
Links for machines are still missing.

@cnrdh cnrdh self-assigned this Jun 2, 2023
@cnrdh cnrdh added this to akvaplan.no Oct 6, 2023
@cnrdh cnrdh changed the title When switching language, users should if possible keep their present context When switching language, users should keep their present context Nov 16, 2023
@cnrdh
Copy link
Member Author

cnrdh commented Jul 8, 2024

See also #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant