Go to the source code of this file.
Functions | |
| ezcurrentLanguage () | |
| ezinsertarguments ($text, $arguments) | |
Variables | |
| $hasFallback = false | |
| $ini = & eZINI::instance() | |
| $useTextTranslation = false | |
| if ($ini->variable( 'RegionalSettings', 'TextTranslation')!= 'disabled') | |
| ezcurrentLanguage | ( | ) |
Definition at line 34 of file i18n.php.
Referenced by eZi18nOperator::i18nTrans().
| ezinsertarguments | ( | $ | text, | |
| $ | arguments | |||
| ) |
Replaces keys found in $text with values in $arguments. If $arguments is an associative array it will use the argument keys as replacement keys. If not it will convert the index to a key looking like n, where n is a number between 1 and 9. Returns the new string.
| $ini = & eZINI::instance() |
Translates the source $source with context $context and optional comment $comment and returns the translation. Uses eZTranslatorMananger::translate() to do the actual translation.
If the site.ini settings RegionalSettings/TextTranslation is set to disabled this function will only return the source text.
| if($ini->variable( 'RegionalSettings', 'TextTranslation')!= 'disabled') |
Definition at line 76 of file i18n.php.
Referenced by Cpdf::output().
1.6.3