class Translator (View source)

Methods

static 
load()

Loads translator.

static string
gettext(string $msgid)

Translates a string.

Details

static load()

Loads translator.

static string gettext(string $msgid)

Translates a string.

Parameters

string $msgid String to be translated

Return Value

string