Public Member Functions | |
setLanguage ($langCode) | |
addDomain ($domain, $path="./locale/") | |
_loadDomain ($domain, $path="./locale") | |
_getTranslation ($key) | |
Public Attributes | |
$_path = 'locale/' | |
$_langCode = false | |
$_domains = array() | |
$_end = -1 | |
$_jobs = array() |
This implementation is abble to cache .po files into php files returning the domain translation hashtable.
private
Definition at line 348 of file GetText.php.
|
Implementation of gettext message retrieval. Reimplemented from GetText_NativeSupport. Definition at line 462 of file GetText.php. References $i, and _getTranslation(). Referenced by _getTranslation(). |
|
Load a translation domain file. This method cache the translation hash into a php file unless GETTEXT_NO_CACHE is defined.
Definition at line 424 of file GetText.php. References $d, and _loadDomain(). Referenced by _loadDomain(), and addDomain(). |
|
Add a translation domain.
Reimplemented from GetText_NativeSupport. Definition at line 394 of file GetText.php. References _loadDomain(), addDomain(), and path. Referenced by addDomain(), and setLanguage(). |
|
Set the translation domain.
Reimplemented from GetText_NativeSupport. Definition at line 362 of file GetText.php. References addDomain(), path, and setLanguage(). Referenced by setLanguage(). |
|
Definition at line 352 of file GetText.php. |
|
Definition at line 353 of file GetText.php. |
|
Definition at line 354 of file GetText.php. |
|
Definition at line 351 of file GetText.php. |
|
Definition at line 350 of file GetText.php. |