|
Elgg
Version 1.10
|
Public Member Functions | |
| translate ($key, $args=array(), $lang='') | |
| @inheritDoc More... | |
Public Member Functions inherited from Elgg\I18n\Translator | |
| __construct () | |
| Initializes new translator. More... | |
| addTranslation ($country_code, $language_array) | |
| Add a translation. More... | |
| getCurrentLanguage () | |
| Detect the current language being used by the current site or logged in user. More... | |
| getLanguage () | |
| Gets the current language in use by the system or user. More... | |
| loadTranslations () | |
| @access private More... | |
| registerTranslations ($path, $load_all=false) | |
| When given a full path, finds translation files and loads them. More... | |
| reloadAllTranslations () | |
| Reload all translations from all registered paths. More... | |
| getInstalledTranslations () | |
| Return an array of installed translations as an associative array "two letter code" => "native language name". More... | |
| getLanguageCompleteness ($language) | |
| Return the level of completeness for a given language code (compared to english) More... | |
| getMissingLanguageKeys ($language) | |
| Return the translation keys missing from a given language, or those that are identical to the english version. More... | |
Definition at line 14 of file NullTranslator.php.
| Elgg\I18n\NullTranslator::translate | ( | $key, | |
$args = array(), |
|||
$lang = '' |
|||
| ) |
@inheritDoc
Reimplemented from Elgg\I18n\Translator.
Definition at line 16 of file NullTranslator.php.