class Translator (View source)

Defines the localization helper infrastructure of the library.

Methods

static void
load()

Loads translator.

static string
gettext(string $msgid)

Translates a string.

static void
setLocale(string $locale)

No description

static string
getLocale()

No description

Details

static void load()

internal  This method is not covered by the backward compatibility promise for SQL-Parser
 

Loads translator.

Return Value

void

static string gettext(string $msgid)

Translates a string.

Parameters

string $msgid

String to be translated

Return Value

string

translated string (or original, if not found)

static void setLocale(string $locale)

No description

Parameters

string $locale

Return Value

void

static string getLocale()

No description

Return Value

string