Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Integrate a locale switch #18

Closed
tboerger opened this issue Dec 12, 2016 · 6 comments
Closed

Integrate a locale switch #18

tboerger opened this issue Dec 12, 2016 · 6 comments

Comments

@tboerger
Copy link
Member

We need to add a locale switcher if there are translations available. Maybe we should also integrate an automated redirect based on https://caddyserver.com/docs/locale and https://caddyserver.com/docs/redir.

@tboerger
Copy link
Member Author

Currently we got a locale switch in the footer of the theme, but on the long term we want to detect the locale automatically as mentioned above.

@lunny
Copy link
Member

lunny commented Dec 22, 2016

So which milestone to do that?

@tboerger
Copy link
Member Author

The docs are not based on milestones yet, maybe i can give it next week a shot.

@tboerger
Copy link
Member Author

Solved

@lunny
Copy link
Member

lunny commented Dec 25, 2016

but It seems it not work for me?

@tboerger
Copy link
Member Author

If your browser provides a matching accepted language it's redirecting there, otherwise it got a fallback to en-US

kolaente pushed a commit to kolaente/theme that referenced this issue May 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants