Define Language

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

 

Define the language for all screens and messages. The default language setting is English but we recommend defining the language even if only English is used.

 

The language, which is in use by Licence Protector, can be retrieved with GetLanguage.

.

 

Name

SetLanguage                                                                                          

Purpose

Sets the language for Activation Screens, messages and the License Viewer.

Params

Parameter

Type

Example

Note

Language

Integer

20000

German – dt or 10000

English – en or 20000

French – fr or 30000

Italian – it or or 40000

Portuguese European – por or 50000 (no longer in use. Is converted to 60000)

Portuguese - porbra or 60000

Dutch – nl or 70000

Swedish – sw or 80000

Spanish – es or or 90000

Norwegian – nor or or 100000

Danish - dan or 110000

Serbian - srb or 120000

Czech - cz or 130000

Polish - pl or 140000

Returncode

Returncode

Type Integer

Note

0

Language successfully set

8193

This language is not supported

Other value

Error occurred, see list of return codes

Usage

To change the current language for messages and the License Viewer

Sample

 

  iRes := lic.SetLanguage(20000);

  if iRes <> 0 then

  begin

    << an error occurred >>

     ...

  end

  else

  begin

     << language successfully set to english >>

     ...

See also

GetLanguage, SetRegisterLanguages

 

 

 

It is possible to use this command before a license file has been opened.

 

You can define, that the user gets a list with languages where he can select the desired language during the first program start with the command SetRegisterLanguages.

 

Sample Screen using SetRegisterLanguages

 

You can always create an own GUI of the end user screens for languages, which are not supported right now - e.g. Russian or Chinese. See chapter Custom-made User Interface

Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.7/help2000/index.html?fr_define_language.htm