mirror of
https://github.com/go-gitea/theme.git
synced 2026-07-20 14:53:30 -04:00
[GH-ISSUE #18] Integrate a locale switch #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tboerger on GitHub (Dec 12, 2016).
Original GitHub issue: https://github.com/go-gitea/theme/issues/18
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 commented on GitHub (Dec 22, 2016):
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 commented on GitHub (Dec 22, 2016):
So which milestone to do that?
@tboerger commented on GitHub (Dec 22, 2016):
The docs are not based on milestones yet, maybe i can give it next week a shot.
@tboerger commented on GitHub (Dec 25, 2016):
Solved
@lunny commented on GitHub (Dec 25, 2016):
but It seems it not work for me?
@tboerger commented on GitHub (Dec 25, 2016):
If your browser provides a matching accepted language it's redirecting there, otherwise it got a fallback to en-US
Integrate a locale switchto [GH-ISSUE #18] Integrate a locale switch