C# Class wmib.messages

Languages
Datei anzeigen Open project: benapetr/wikimedia-bot

Public Properties

Property Type Description
Language string

Public Methods

Method Description
Exists ( string lang ) : bool

Return true if a language exist

LoadLD ( ) : void

Load all language data

Localize ( string item, string language = null, List va = null ) : string

Return a language string for a given key

Private Methods

Method Description
Parse ( string text, string name ) : string
finalize ( string text, List va ) : string

Method Details

Exists() public static method

Return true if a language exist
public static Exists ( string lang ) : bool
lang string
return bool

LoadLD() public static method

Load all language data
public static LoadLD ( ) : void
return void

Localize() public static method

Return a language string for a given key
public static Localize ( string item, string language = null, List va = null ) : string
item string Key
language string Language
va List
return string

Property Details

Language public_oe static_oe property

Default
public static string Language
return string