Previous Topic

Book Contents

Book Index

Next Topic

Selecting Language

To choose a language used in Valuemation, call

Application.changeLanguage(java.lang.Object aLanguageId)

Changes the language for the current user. Used language identifiers are defined in the Application. By default, 1 is for English and 2 for German. Additional language versions might be supplied upon customer’s request.

Note: the currently selected language is user-dependent.

To get the language currently used, call

Application.getLanguage()

Returns the language constant of the current language.

Example - Selecting language

We assume that you have run Valuemation and logged in correctly before starting this code. oVM variable now holds Application object. See Login Syntax for the section of the opening code.

'change language to English

oVM.changeLanguage("1")

See Also

Setting Up Valuemation Environment

Writing Messages to the Log

Getting Valuemation Version

Information About the Running Platform

Memory Services

Main Parameters

User_Admin Mode

Localizing Messages