You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Automatic locale detection saves the wrong string #487
Describe the bug
When navigating to the site, local storages saves the browser locale in the key i18nextLng. In my case, the value is de (German). This however, seems to be invalid, because the drop down is in an invalid state and when selecting German manually, the local storage value is changed to de-DE.
There seems to be no config option to overwrite the language manually.
To Reproduce
Steps to reproduce the behavior:
Set your browser to german locale.
Navigate to the auth page (in private tab)
Observe the local storage value
Expected behavior
I expected the value to be de-DE or for tinyauth to recognize deas valid
Screenshots
n/a
Logs
No logs available, because this is local behaviour.
Device (please complete the following information):
The nightly version seems to correctly save de-DE to the local storage! However, the current nightly also doesn't output strings correctly, instead showing localization keys (see screenshot). This seems to be unrelated, though.
Activity
steveiliop56 commentedon Dec 8, 2025
Hey @leonbeon I think I have a fix with 2f4f250. Can you please test with
nightly?leonbeon commentedon Dec 10, 2025
The nightly version seems to correctly save
de-DEto the local storage! However, the current nightly also doesn't output strings correctly, instead showing localization keys (see screenshot). This seems to be unrelated, though.steveiliop56 commentedon Dec 22, 2025
Fixed with #533. I would ask you to test but since this pull request started v5 it's not worth migrating your setup to test.