PHP. GettextXML

Summary
Use a particular text domain.
GettextXML string retrieval function.
Set debugging status by adding a character or set of characters to the end of every untranslated string.
Get associated meta information for GettextXML files
Set language to use for internationalization.
Add an additional text domain to the list of domains that GettextXML searches for translations in.

Functions

GettextXML:: bindtextdomain

Use a particular text domain.

Parameters

$packageName of package to use
$dirName of directory to use

GettextXML:: gettext_xml

GettextXML string retrieval function.  This function is wrapped by <__> in misc_tools.

Parameters

$stringText string to retrieve internationalization for

Returns

Translated string.

See Also

<__>

GettextXML:: markuntranslated

Set debugging status by adding a character or set of characters to the end of every untranslated string.

Parameters

$markerCharacters to append to untranslated strings.

GettextXML:: metainformation

Get associated meta information for GettextXML files

Parameters

$filenameGettextXML file name (string)

Returns

Associative array of meta information.

GettextXML:: setlanguage

Set language to use for internationalization.

Parameters

$languageLanguage to use for internationalization

GettextXML:: textdomain

Add an additional text domain to the list of domains that GettextXML searches for translations in.

Parameters

$domainText domain