GetLanguage

Description

Gets the language of PowerBuilder runtime text resources.

Syntax

LanguageType GetLanguage()

Return value

LanguageType

Returns one of the following values defined in the list of LanguageType enumerated type:

  • Chinese!

  • Custom!

  • Danish!

  • Dutch!

  • English!

  • French!

  • German!

  • Italian!

  • Japanese!

  • Norwegian!

  • Spanish!

  • Swedish!

Usage

Returns the language type set by SetLanguage. If the application has not called SetLanguage to set the language type and there is no available language package file, it returns NULL. Otherwise, it returns the language type currently used by the application.

Examples

This example gets the current language:

LanguageType lt_rtn
lt_rtn = GetLanguage()

See also

SetLanguage