I have some trouble setting the language for the application as a whole.
In the main menu I have code in the “OnApplicationInit” code section that finds the preferred language in the database and use the sc_set_language macro to set the language and regional settings. This “works” in the sense that now the main menu is displayed in the chosen language. However, when any application is opened from the main menu, it is always displayed in English rather than the chosen language.
At first I thought it was because the sc_set_language macro was to be used in each and every single application program. However, I found out that if I go to the application where the language is selected and reselect the language, the sc_set_language macro is executed again, and now it works for all applications without any further usage of sc_set_language. Thus, it is apparently possibly to just set it once, but I cannot fathom why this does not work in the main menu.