Mono Class Library: Mono.Unix.Catalog Overview | Members

Mono.Unix.Catalog.Init Method

Initialize the object instance by providing information required to build the base directory where the message catalog is stored. [Edit]

public static void Init (string package, string localedir)

Parameters

package
A string containing the name of the package (domain) that is to be accessed. [Edit]
localedir
A string containing the top level directory (folder) under which the message catalog(s) are stored. [Edit]

Remarks

The path to the message catalogs is constructed as follows localedir/locale/category/package. In this notation locale and category are, respectively, the locale name and the message category name, such as LC_MESSAGES. The object is initialized so that it translates the strings retrieved from the on-disk catalog into the UTF-8 encoding. [Edit]

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0