Thinking about set lang... this happens every time going into the program. It's possible set this one time, save this var in the config file and after call every time when the program start? in order to begin:
PUBLIC FUNCTION Main() AS Boolean
CheckLang() 'check and set lang from config file or call Set lang
if lang=null then
FShowError.Create([Error.Code, Error.Text, Error.Where]).ShowModal()
Thankses for your suggestion!
The problem is that the configuration comes read from the application, and does not give the launch module; Gambas2 does not have the possibility to modify the LANG during and after the start of the application, and the only way in order to make it is to define it from the launch module. I have already tried such solution previously, but it has not been possible to apply it to me.
However, I take your idea like base for ulterior studies, we will see if it is possible to find a solution suitable.