authentik icon indicating copy to clipboard operation
authentik copied to clipboard

web: Locale setting not respected

Open macmoritz opened this issue 1 year ago • 5 comments

Describe the bug The UI gets translated partly to the system language.

To Reproduce

  1. Set the locale of the current account to 'automatic via browser'
  2. Change locale to 'EN - English'
  3. Open any authentik page

Expected behavior Language setting is used and consistent.

Screenshots image

Version and Deployment (please complete the following information):

  • authentik version: 2024.4.0
  • Deployment: helm

Additional context German is my browser language.

macmoritz avatar Apr 25 '24 16:04 macmoritz

I've investigated further: The useragent/request locale is used, the setting in authentik is ignored.
Tested with chrome devtools, Ctrl+Shift+P -> Show Sensors -> Location.

Location London: everything is english, as expected Location Berlin: english and german mixed, not expected

macmoritz avatar Apr 25 '24 16:04 macmoritz

Should be fixed by 8d37e83.

macmoritz avatar Apr 26 '24 14:04 macmoritz

The setting is respect until the next (re-)load of the authentik interface. Not fixed in 2024.4.1.

macmoritz avatar Apr 26 '24 22:04 macmoritz

Still not fixed in 2024.4.2. Friendly reminder @BeryJu

macmoritz avatar May 08 '24 19:05 macmoritz

Still not fixed in 2024.4.2. Friendly reminder @BeryJu

Experiencing the same behavior. Doesn't seem to be fixed.

Locales in DevTools show de.ts and en.ts. Seems like browser/system locale has priority over the application localization. It wouldn't bother me too much, if not every single translation would be a literal one e.g. "Client Secret" -> "Client Geheimnis". It hurts to read this :)

DenisKevljanin avatar May 10 '24 14:05 DenisKevljanin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

this is still an issue

benedikt-bartscher avatar Jul 20 '24 19:07 benedikt-bartscher

Same issue

FloTheSysadmin avatar Aug 25 '24 18:08 FloTheSysadmin

Present for me in version 2024.8.1 A mixture of NL and EN

schumi2004 avatar Sep 14 '24 20:09 schumi2004