languages

Description

This unit provides support for various (human) languages.

Declarations

Name

Type

Visibility

Synopsis

SetLanguage

function

global

If lang is a valid language identifier then sets the output (human) language to that language and returns true.

GetLangString

function

global

Returns a string in a (human) language corresponding to the specified index.

LangCharsetName

function

global

Returns the name of character set to be used for the current language.

TLangString

type

global

A string in a (human) language.

languages



SetLanguage

Declaration

function SetLanguage(lang : String) : Boolean;

Visibility

global

Source

languages.pas on line 34

Description

If lang is a valid language identifier then sets the output (human) language to that language and returns true. Otherwise returns false.

SetLanguage

languages


GetLangString

Declaration

function GetLangString(s : TLangString) : String;

Visibility

global

Source

languages.pas on line 37

Description

Returns a string in a (human) language corresponding to the specified index.

GetLangString

languages


LangCharsetName

Declaration

function LangCharsetName : String;

Visibility

global

Source

languages.pas on line 40

Description

Returns the name of character set to be used for the current language.

LangCharsetName

languages


TLangString

Declaration

TLangString =(AAA_str, Access_str, constant_str, Contents_str, Class_tree_str, Declaration_str, Declarations_str, Description_str, field_str, file_str, global_str, ID_str, Immediate_ancestor_str, Immediate_ancestors_str, Immediate_descendants_str, Implemented_by_str, Implemented_interface_str, Implemented_interfaces_str, Interface_tree_str, interface_str, local_str, Members_str, Modules_str, Name_str, Notes_on_the_implementation_str, on_line_str, Parameters_str, private_str, protected_str, public_str, property_str, record_str, Reference_for_str, Related_methods_str, See_also_str, Source_str, Symbol_index_str, Synopsis_str, Table_of_contents_str, thread_local_str, ttype_str, Type_str, Uses_in_implementation_str, Uses_in_interface_str, variable_str, Visibility_str, ZZZ_str);

Visibility

global

Source

languages.pas on line 12

Description

A string in a (human) language. The case of the identifiers is significant. The strings should have the same case as the identifiers here.

TLangString

languages