Navigation:  Implementing EasyGo > Function Reference EasyGo >

Define Language

Previous pageReturn to chapter overviewNext page

 

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.

.

 

Name

SetLanguage                                                                                          

Purpose

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

Params

Parameter

Type

Example

Note

Language

Integer

20000

Language code (10000 = German, 20000 = English, 30000 = French, 40000 = Italian, 50000 = European Portuguese, 60000 = Brazilian Portuguese, 70000 = Dutch, 80000 = Swedish, 90000 = Spanish, 100000 = Norwegian

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 LicenceViewer

Sample

 

  iRes := lic.SetLanguage(20000);

  if iRes <> 0 then

  begin

     << an error occurred >>

     ...

  end

  else

  begin

     << language successfully set to english >>

     ...

See also

 

 

 

 

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

 

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

 

 

 

 

 


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