Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
111 stars 70 forks source link

Unify language type definitions in solution #2314

Closed acn-sbuad closed 4 years ago

acn-sbuad commented 5 years ago

Description

Several practices are used when defining language types in Altinn Apps, and Altinn Platform. These should be unified and there should exists a mapping between Altinn II language types and T3.0 language types

Considerations

Acceptance criteria

Specification tasks

- [ ] Specify language types and enum values

Development tasks

altinnadmin commented 4 years ago

Windows CodePages language standard is used to set the enum values in SBL, should these values be used in T3.0?

We should not use windows language identifiers in Altinn 3. We should use iso 639-1.

nkylstad commented 4 years ago

mapping in src/Altinn.Apps/AppFrontend/react/altinn-app-frontend/src/shared/resources/language/languages.ts also needs to be updated when this is done.

acn-sbuad commented 4 years ago

Completed changes related to platform and app frontend. What remains is handling Language.cs defined in app backend and designer. not sure if they are in use or not. Moving back to backlog

jeevananthank commented 4 years ago

ProfileSettingPreference of an user is verified.