[GH-ISSUE #18] Integrate a locale switch #2

Closed
opened 2026-02-16 12:42:32 -05:00 by yindo · 6 comments
Owner

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.

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.
yindo added the kind/enhancement label 2026-02-16 12:42:32 -05:00
yindo closed this issue 2026-02-16 12:42:32 -05:00
Author
Owner

@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.

@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.
Author
Owner

@lunny commented on GitHub (Dec 22, 2016):

So which milestone to do that?

@lunny commented on GitHub (Dec 22, 2016): So which milestone to do that?
Author
Owner

@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 22, 2016): The docs are not based on milestones yet, maybe i can give it next week a shot.
Author
Owner

@tboerger commented on GitHub (Dec 25, 2016):

Solved

@tboerger commented on GitHub (Dec 25, 2016): Solved
Author
Owner

@lunny commented on GitHub (Dec 25, 2016):

but It seems it not work for me?

@lunny commented on GitHub (Dec 25, 2016): but It seems it not work for me?
Author
Owner

@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

@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
yindo changed title from Integrate a locale switch to [GH-ISSUE #18] Integrate a locale switch 2026-06-05 16:34:26 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-gitea/theme#2