Show/Hide Toolbars

Licence Protector 5

 

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. With language code = 0 the language, which is configured in the operating system, is used. If the operating system uses an unsupported language, the default language would be used.

 

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

 

As Licence Protector 5 supports Unicode, a screen with Chinese characters can be used on an English operating system.

 

 

Name

SetLanguage                                                                                          

Purpose

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

Params

Parameter

Type

Example

Note

Language

String

2

Language configured in Windows = 0

German –  1

English –  2 (Default language if this command is not used)

French –  3

Italian –  4

Portuguese European –  5 (no longer in use. Is converted to 6)

Portuguese -  6

Dutch – 7

Swedish –  8

Spanish –  9

Norwegian – 10

Danish - 11

Serbian - 12

Czech - 13

Polish - 14

Turkish - 15

Chinese simple - 16

Chinese traditional - 17

Greek - 18

Lithuanian - 19

Japanese - 20

Russian - 21

Vietnamese - 22

Bulgarian - 23

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(2);

  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.

 

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