Language selection when signing in

1
Hi, My customer wants users to select language on the sign-in page and then show pages in the selected language after signing in. Do you know how to develop? Thanks you in advance. Best regards, Mio
asked
2 answers
3

Tricky question, 

This requires to interfere in the login mechanism. Using custom Java this can be done: https://apidocs.rnd.mendix.com/8/runtime/com/mendix/core/action/user/LoginAction.html

My approach would be;

  1. add dataview around authentication widgets with NPE
  2. NPE has association to language
  3. User can select  language on sign in page
  4. Sign-in button passes NPE object.
  5. In Java set selected language as user language and login

 

My Java knowledge is limited, so that you have to sort out yourself using the runtime documentation

 

 

answered
0

Standard functionality. See https://docs.mendix.com/refguide/translatable-texts#1-introduction

answered