Closed mgunnerud closed 1 month ago
We are currently unable to read the language from users cookie, so the fallback language norwegian bokmål will always be used.
Two issues should be fixed to get correct language cookie:
i18next
il8next
no_nb
no_nn
en
nb
No response
Description of the bug
We are currently unable to read the language from users cookie, so the fallback language norwegian bokmål will always be used.
Two issues should be fixed to get correct language cookie:
i18next
, notil8next
as it is currently named in code. (the lower-case L must be replaced with the number 1)no_nb
,no_nn
oren
. Currently the cookie value is set to simplynb
. https://github.com/Altinn/altinn-access-management-frontend/blob/main/backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Helpers/ProfileHelper.cs appears to do it correctlySteps To Reproduce
Additional Information
No response