../pvss.htm menu.gif basics.gif

getLocale()

Returns the language identifier

Synopsis

string getLocale( int langIdx );

Parameters

    Parameters

    Meaning

    langIdx

    Index of the language entry

Return value

The function returns, for example, "de_AT.iso88591" or in the event of an error, an empty string ("").

Errors

In the event of a missing argument of the function.

Description

Returns the langs entry of the file config with index langIdx . This lies in the range from 0 to the number of languages that are available, minus 1 (query with getNoOfLangs()).

IconExample

main()

{

DebugN(getLocale(getActiveLang()));

}

Relates to

Multi-language capability

Availability

UI, CTRL, DP

See also

    getLangIdx(), getNoOfLangs()

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved