+ 1

Trying to change the language on one screen and have it change all the following screens

When user chooses language in one screen the next should change as well

14th Mar 2017, 6:39 PM
Jeffrey Hairston
3 Respuestas
+ 2
if by saying screen you mean a windows form or windows store app xaml page... then I think what you can do is store the language selected and ask the user to restart the application. all pages or forms should be reinstantiated for a language change to be applied and the best way to do that is to restart the application if you mean an asp.net page the language selected can be saved as a session variable that is used for all the pages of the site till the session ends
14th Mar 2017, 7:37 PM
ODUKOYA JESUSEYITAN
ODUKOYA JESUSEYITAN - avatar
+ 1
What I should have said is when user opens app and selects language at the beginning then goes into another table of the app the language stay the one he had chosen at the beginning
14th Mar 2017, 10:46 PM
Jeffrey Hairston
+ 1
i'll use windows forms app to explain after your splashscreen has loaded the form that shows up asks the user to select language right... if yes then... 1. assign the selected language to a variable 2. use a switch statement for all selectable language options before the initializeComponent() of the forms that will be using the language NOTE: YOU SHOULD HAVE VARYING FUNCTIONS AND VARYING TEXTS PER LANGUAGE FOR ALL TEXT RELATED OBJECT IN THE FORMS THAT WILL USE THE LANGUAGE
14th Mar 2017, 11:00 PM
ODUKOYA JESUSEYITAN
ODUKOYA JESUSEYITAN - avatar