Skip to content

Keycloack Login Preventing i18n #48

@juliakrtz

Description

@juliakrtz

Description

  • After redirect from keycloack the language is defaulting to English
  • Cannot load other languages locally with .en.local vars or in the deployed version when logged in

Reproduce on the server:

  1. In the deployed version, log-in to the Danube app
  2. Switch the locale switcher to Hungarian or German
  3. Keycloack works but the language will still be in English

Reproduce locally:

  1. In the app.ts file of the Danube app, uncomment lines 38-40
  2. Comment out lines 34-37
  3. Make sure you have .env.local vars in the project root
  4. Run the app
  5. Navigate to the Danube app, switch language to German or Hungarian
  6. The app defaults to English
  7. Note: if .env.local vars are not present in project root, the locale switcher works, however this times out the keycloack instance/is only working because keycloack is failing (not a long-term solution)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions