Altinn / Altinn/app-frontend-react

Inconsistent names in language dropdown

Open
#2,241 2 comments 0 reactions 1 assignee Claimed by @martinothamar View on GitHub
area/language kind/bug
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description of the bug

Language selector shows "Norsk bokmål" and "Nynorsk". This is inconsistent - should be either "Bokmål" and "Nynorsk", or "Norsk bokmål" and "Norsk nynorsk".

### Steps To Reproduce

Include language selector in app, see inconsistent language names.

### Additional Information

![image](https://github.com/user-attachments/assets/25b220f0-2bfb-4ca6-ba86-d22ee9b6b602)

The way it's done in the Altinn Inbox (which we should be consistent with):

![Image](https://github.com/user-attachments/assets/85add630-7272-463d-83a1-dc900a6b57dd)

### Acceptance criteria
- [ ] Given that the language selector is added to a form layout, when the dropdown is selected and if "Bokmål" or "Nynorsk" is a supported language, then it should be shown with the values "Bokmål" and/or "Nynorsk" ie. the same way it's shown in the Altinn Inbox
- [ ] Given that other languages are supporte, when the dropdown is selected, those other languages should be shown in their own language ie. English, Deutsch etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.