Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
14 stars 24 forks source link

LanguageSelector should inform backend of changes in language #2045

Open CelineTrammi opened 3 weeks ago

CelineTrammi commented 3 weeks ago

Description

Nice to have.

Say when you are using dynamic option lists obtained through an api and want to have these updated with the correct labels as soon as the user changes the language.

I think that for code lists added in services these are updated automatically, so it makes sense that custom code also runs when the language changes, especially now that language is included as a parameter to the backend methods.

Additional Information

No response