How to get current language

xInfo inf;
;
inf = new xInfo();
if( inf )
{
inf.language();
}

                                    
                                

1 Comment

  1. don’t instanceiate the xinfo class!!!!
    this class is extended in the application by the class info
    and is instanceiated by the client-kernel as a global variable
    named infolog

    to get the current language:

    info( infolog.language() );