issues
search
Altinn
/
altinn-authentication-frontend
Authentication React frontend with BFF
MIT License
1
stars
0
forks
source link
Set language cookie with correct name and iso code
#307
Closed
mgunnerud
closed
3 months ago
mgunnerud
commented
3 months ago
Description
Use "i18next" as cookie name for language, and return localization code frontend expects ("en", "no_nb" or "no_nn"). Most of the code in ProfileHelper is copied from
https://github.com/Altinn/altinn-access-management-frontend/blob/main/backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Helpers/ProfileHelper.cs
Related Issue(s)
285
Verification
[ ]
Your
code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green
Documentation
[ ] User documentation is updated with a separate linked PR in
altinn-studio-docs.
(if applicable)
Description
Related Issue(s)
285
Verification
Documentation