something about set lang

  • CArlos Tineo

    CArlos Tineo - 2008-12-11

    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
    end if



      FShowError.Create([Error.Code, Error.Text, Error.Where]).ShowModal()

    • Carlotto Luigi

      Carlotto Luigi - 2008-12-12

      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.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks