Admin page not switching language #181

Closed
opened 2025-11-02 03:12:52 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @Bwko on GitHub (Dec 29, 2016).

  • Gitea version (or commit ref): At least since 6bcff78
  • Operating system: Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Go to the admin page, switch to whatever language.
Admin page stays in English.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Originally created by @Bwko on GitHub (Dec 29, 2016). - Gitea version (or commit ref): At least since 6bcff78 - Operating system: Linux - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant Go to the admin page, switch to whatever language. Admin page stays in English. <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40478589-admin-page-not-switching-language?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github). </bountysource-plugin>
GiteaMirror added the modifies/translationtype/bug labels 2025-11-02 03:12:52 -06:00
Author
Owner

@bkcsoft commented on GitHub (Dec 29, 2016):

Is this because there's no translation or because of a bug?

@bkcsoft commented on GitHub (Dec 29, 2016): Is this because there's no translation or because of a bug?
Author
Owner

@Bwko commented on GitHub (Dec 29, 2016):

It's a bug, the translations exists.

@Bwko commented on GitHub (Dec 29, 2016): It's a bug, the translations exists.
Author
Owner

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

Which OS and Browser that you tested, I cannot reproduce that on macOS & latest Safari.

@lunny commented on GitHub (Dec 31, 2016): Which OS and Browser that you tested, I cannot reproduce that on macOS & latest Safari.
Author
Owner

@Bwko commented on GitHub (Dec 31, 2016):

Found the problem: Somehow a en-US lang cookie is set under the /admin path. And a nl-NL cookie is set under the / path
When you change your language it changes the / lang cookie to that language, and leaving the /admin lang cookie on en-US

@Bwko commented on GitHub (Dec 31, 2016): Found the problem: Somehow a en-US lang cookie is set under the /admin path. And a nl-NL cookie is set under the / path When you change your language it changes the / lang cookie to that language, and leaving the /admin lang cookie on en-US
Author
Owner

@lunny commented on GitHub (Jan 3, 2017):

Is this a bug?

@lunny commented on GitHub (Jan 3, 2017): Is this a bug?
Author
Owner

@Bwko commented on GitHub (Jan 5, 2017):

@lunny Yes, but I don't know how/why the /admin lang cookie got set.
But i'ts easy to reproduce the bug: use a cookie editor and create a /admin lang cookie.

@Bwko commented on GitHub (Jan 5, 2017): @lunny Yes, but I don't know how/why the /admin lang cookie got set. But i'ts easy to reproduce the bug: use a cookie editor and create a /admin lang cookie.
Author
Owner

@lunny commented on GitHub (Feb 11, 2017):

Move this to 1.x.x since I cannot reproduce this and no one to send PR to fix this.

@lunny commented on GitHub (Feb 11, 2017): Move this to 1.x.x since I cannot reproduce this and no one to send PR to fix this.
Author
Owner

@lunny commented on GitHub (Dec 12, 2017):

Just close this since we can not reproduce it any more. Please feel free to reopen it.

@lunny commented on GitHub (Dec 12, 2017): Just close this since we can not reproduce it any more. Please feel free to reopen it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#181