|
eZ Publish
[4.2]
|
Go to the source code of this file.
Functions | |
| ezcurrentLanguage () | |
| ezinsertarguments ($text, $arguments) | |
Variables | |
| $ini = eZINI::instance() | |
| $useTextTranslation = $ini->variable( 'RegionalSettings', 'TextTranslation' ) != 'disabled' | |
| ezcurrentLanguage | ( | ) |
Definition at line 32 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.
Definition at line 69 of file i18n.php.
Referenced by eZWebDAVContentBackend\__construct(), eZUser\_loginUser(), eZUser\accessArray(), eZExtension\activateExtensions(), eZExtension\activeExtensions(), eZCodeTemplate\allCodeFiles(), eZInformationCollection\allowAnonymous(), eZMail\allowedCharsets(), eZTemplateCompiler\alwaysGenerate(), eZImageAnalyzer\analyzerData(), eZUser\anonymousId(), eZInformationCollection\attributeHideList(), eZUser\authenticationMatch(), eZContentObjectTreeNode\availableClassListJsArray(), eZExtension\baseDirectory(), eZDBInterface\begin(), eZContentBrowse\browse(), eZTranslationCache\cacheDirectory(), eZSys\cacheDirectory(), eZURLWildcard\cacheInfo(), eZContentCache\cachePathInfo(), eZContentObject\canCreateClassList(), eZContentObjectTreeNode\canCreateClassList(), eZContentClass\canInstantiateClasses(), eZContentClass\canInstantiateClassList(), changeDBCharsetORACLE(), eZImageHandler\changeFilePermissions(), eZSSLZone\checkModuleView(), eZTipafriendRequest\checkReceiver(), eZDB\checkTransactionCounter(), eZUserLoginHandler\checkUser(), eZUser\checkUser(), eZContentObjectTreeNode\childrenByName(), eZUserType\classAttributeRemovableInformation(), eZDataType\classDisplayInformation(), eZContentClassPackageHandler\classDOMTree(), eZTipafriendRequest\cleanup(), eZContentCache\cleanup(), eZSubtreeCache\cleanupCacheDir(), eZBasket\cleanupCurrentBasket(), eZContentCacheManager\clearAllContentCache(), eZContentCacheManager\clearObjectViewCache(), eZContentCacheManager\clearObjectViewCacheIfNeeded(), eZContentCacheManager\clearTemplateBlockCacheIfNeeded(), eZDBInterface\commit(), eZTemplateCompiler\compilationDirectory(), eZTemplateCompiler\compilationFilename(), eZTemplateCompiler\compileTemplate(), eZUser\contentClassIDs(), eZNodeviewfunctions\contentViewRetrieve(), eZURLAliasML\convertToAlias(), eZLocale\create(), eZImageManager\createAliasFromINI(), eZImageShellHandler\createFromINI(), eZImageGDHandler\createFromINI(), eZTemplateDesignResource\createOverrideCache(), eZHTTPTool\createRedirectUrl(), eZSiteInstaller\createSiteAccess(), eZPackageCreationHandler\creatorList(), eZMultiOption2Type\customObjectAttributeHTTPAction(), eZObjectRelationType\customObjectAttributeHTTPAction(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZWebDAVServer\dataCharset(), eZCodeMapper\decodeCommand(), eZContentObject\defaultLanguage(), eZContentCacheManager\dependencyInfo(), eZTemplateDesignResource\designSetting(), eZInformationCollection\displayHandling(), eZFilePassthroughHandler\dispositionType(), eZObjectRelationListType\domString(), eZMatrix\domString(), downloadPackages(), eZHTTPHeader\enabled(), eZSSLZone\enabled(), eZTemplate\error(), eZDefaultConfirmOrderHandler\execute(), eZSimpleShippingType\execute(), eZStaticCache\executeActions(), eZCharTransform\executeCacheFile(), eZCodeMapper\executeCommandCode(), eZContentObject\expireTemplateBlockCacheIfNeeded(), eZISBN13\extractISBNNumber(), eZCodeTemplate\eZCodeTemplate(), eZCollaborationViewHandler\eZCollaborationViewHandler(), eZSys\ezcrc32(), eZDBInterface\eZDBInterface(), eZImageManager\eZImageManager(), eZMail\eZMail(), eZMimeType\eZMimeType(), eZPostgreSQLDB\eZPostgreSQLDB(), eZStaticCache\eZStaticCache(), eZTemplate\eZTemplate(), eZTemplateImageOperator\eZTemplateImageOperator(), eZXHTMLXMLOutput\eZXHTMLXMLOutput(), eZXMLInputParser\eZXMLInputParser(), eZXMLOutputHandler\eZXMLOutputHandler(), eZXMLSchema\eZXMLSchema(), eZUser\fetchAnonymousCount(), eZAudit\fetchAuditEnabled(), eZAudit\fetchAuditNameSettings(), eZCountryType\fetchCountryList(), eZCache\fetchList(), eZNavigationPart\fetchList(), eZTSTranslator\fetchList(), eZUser\fetchLoggedInCount(), eZUser\fetchLoggedInList(), eZPackage\fetchMaintainerRoleIDList(), eZContentObjectTreeNode\fetchNode(), eZWebDAVContentBackend\fetchNodeByTranslation(), eZUserType\fetchObjectAttributeHTTPInput(), eZWebDAVContentBackend\fetchParentNodeByTranslation(), eZProductCategory\fetchProductCountByCategory(), eZRSSImport\fieldMap(), eZFilePackageHandler\fileExists(), eZExtension\findExtensionType(), eZSiteAccess\findPathToSiteAccess(), eZUser\generateAccessArray(), eZCodeMapper\generateCommandCode(), eZContentCacheManager\generateObjectViewCache(), eZNodeviewfunctions\generateViewCacheFile(), eZUser\getCacheFilename(), eZHTTPTool\getDataByURL(), eZSearch\getEngine(), eZExtension\getHandlerClass(), eZDir\getPathFromFilename(), eZDefaultVATHandler\getProductCategory(), eZSSLZone\getSSLZones(), eZVATManager\getUserCountryAttributeName(), eZSession\getUserSessionHash(), eZWebDAVContentBackend\getVirtualFolderCollection(), eZCharTransform\groupCommands(), eZGeneralDigestHandler\handle(), eZContentObjectPackageHandler\handleParameters(), eZSubTreeHandler\handlePublishEvent(), eZUser\hashType(), eZHTTPHeader\headerOverrideArray(), eZLocale\httpLocaleCode(), eZi18nOperator\i18nTrans(), eZWordToImageOperator\iconDirectMapping(), eZWordToImageOperator\iconGroupMapping(), eZImageAliasHandler\imagePath(), eZImageAliasHandler\imagePathByNode(), eZContentCache\inCleanupThresholdRange(), eZSys\indexFile(), eZModule\initialize(), eZScript\initialize(), eZSimpleTagsOperator\initializeIncludes(), eZContentObjectPackageCreator\initializeObjectLimits(), eZContentObjectPackageInstaller\initializeSiteAccess(), eZContentObjectPackageInstaller\initializeTopNodes(), eZURLOperator\iniTrans(), eZFilePackageHandler\install(), eZINIAddonPackageHandler\install(), eZContentObjectPackageHandler\installTemplates(), eZDbSchema\instance(), eZNotificationTransport\instance(), eZUserLoginHandler\instance(), eZDB\instance(), eZArchiveHandler\instance(), eZFileHandler\instance(), eZUser\instance(), eZLocale\instance(), eZTemplateTreeCache\internalKey(), eZSession\internalRead(), eZSession\internalWrite(), eZTemplateCompiler\isAccumulatorsEnabled(), eZTemplateTreeCache\isCacheEnabled(), eZTemplateCompiler\isCommentsEnabled(), eZTemplateCompiler\isCompilationEnabled(), eZContentObject\isComplexViewMode(), eZDebugSetting\isConditionTrue(), eZTemplateCompiler\isDevelopmentModeEnabled(), eZTemplateCompiler\isExecutionEnabled(), eZTemplateCompiler\isFallbackResourceCodeEnabled(), eZSSLZone\isKeepModeView(), eZWebDAVServer\isLoggingEnabled(), eZTemplate\isMethodDebugEnabled(), eZTemplateCompiler\isNodePlacementEnabled(), eZINI\isSettingReadOnly(), eZSys\isSSLNow(), eZTemplate\isTemplatesUsageStatisticsEnabled(), eZTemplateCompiler\isTimingPointsEnabled(), eZTemplateCompiler\isTreeEnabled(), eZUser\isTrusted(), eZUser\isUserLoggedIn(), eZTemplate\isXHTMLCodeIncluded(), eZMail\lineSeparator(), eZLintSchema\lintCheckSchema(), eZContentObjectPackageCreator\loadObjectLimits(), eZDBSchemaInterface\loadSchemaTransformationRules(), eZCodeMapper\loadTransformationFiles(), eZTSTranslator\loadTranslationFile(), eZLDAPUser\loginUser(), eZTextFileUser\loginUser(), eZPackage\maintainerRoleListForRoles(), eZContentBrowseRecent\maximumRecentItems(), eZUser\maxNumberOfFailedLogin(), eZWordToImageOperator\modify(), eZAutoLinkOperator\modify(), eZSimpleTagsOperator\modify(), eZTopMenuOperator\modify(), eZTemplateImageOperator\modify(), eZTemplateUnitOperator\modify(), eZURLOperator\modify(), eZDataType\objectDisplayInformation(), eZPHPCreator\open(), eZTemplateUnitOperator\operatorTransform(), eZMail\outputCharset(), eZContentObjectTreeNode\parentDepthLimitationList(), eZHTTPTool\password(), eZUser\passwordCharacterTable(), eZContentObjectTreeNode\pathWithNames(), eZExtension\prependExtensionSiteAccesses(), eZExtension\prependSiteAccess(), eZContentLanguage\prioritizedLanguages(), eZTemplateCacheFunction\process(), eZURLAliasFilter\processFilters(), eZWebDAVContentBackend\propFind(), eZLDAPUser\publishNewUserGroup(), eZLDAPUser\publishUpdateUser(), eZImageAnalyzer\readAnalyzerSettingsFromINI(), eZImageManager\readConversionRuleSettingsFromINI(), eZImageManager\readImageAliasesFromINI(), eZImageManager\readImageHandlersFromINI(), eZImageManager\readMIMETypeQualitySettingFromINI(), eZImageManager\readMIMETypeSettingFromINI(), eZImageManager\readMIMETypeSettingsFromINI(), eZImageManager\readSupportedFormatsFromINI(), eZInformationCollection\redirectURL(), eZSession\registerFunctions(), eZSiteAccess\reInitialise(), eZProductCategory\removeByID(), eZContentObjectTreeNode\removeThis(), eZDBInterface\reportError(), eZPackage\repositoryPath(), eZUser\requireUniqueEmail(), resetINI(), eZContentBrowse\result(), eZDBInterface\rollback(), eZTranslationCache\rootCacheDirectory(), eZMailNotificationTransport\send(), eZMailTransport\send(), eZSMTPTransport\sendMail(), eZFileTransport\sendMail(), eZSendmailTransport\sendMail(), eZDefaultConfirmOrderHandler\sendOrderEmail(), eZInformationCollection\sendOutEmail(), eZSys\serverURL(), eZUserLoginHandler\sessionCleanup(), eZTemplateTreeCache\setCachedTree(), eZDebugSetting\setDebugINI(), ezpLanguageSwitcher\setupTranslationSAList(), eZURI\setURIString(), eZContentObjectTreeNode\showInvisibleNodes(), eZUser\site(), eZSiteAccess\siteAccessList(), eZSession\start(), eZScript\startup(), eZPackage\stateList(), eZSys\storageDirectory(), eZHTTPFile\store(), eZPackageType\storeObjectAttribute(), eZContentObjectTreeNode\subTreeCountByNodeID(), eZSSLZone\switchIfNeeded(), templateInit(), eZTemplateCacheFunction\templateNodeTransformation(), eZTemplateCompiler\TemplatePrefix(), eZURLWildcard\translate(), eZURLAliasML\translate(), eZInformationCollection\typeForObject(), eZPackage\typeList(), eZBinaryFileType\unserializeContentObjectAttribute(), eZMediaType\unserializeContentObjectAttribute(), eZScript\updateDebugSettings(), updateINI_1_1_0(), updateINI_1_4_0(), eZSiteInstaller\updateINIFiles(), eZContentObjectTreeNode\updateSubTreePath(), eZScript\updateTextCodecSettings(), eZContentUpload\upload(), eZContentObjectTreeNode\url(), eZContentObjectTreeNode\urlAlias(), eZURLOperator\urlTransformation(), eZURLAliasML\urlTranslationEnabledByUri(), eZInformationCollection\userDataHandling(), eZHTTPTool\username(), eZUser\validateLoginName(), eZUserType\validateObjectAttributeHTTPInput(), eZUser\validatePassword(), eZSys\varDirectory(), eZTemplateStringOperator\wash(), eZTemplateStringOperator\washTransformation(), eZXMLInputParser\wordMatchSupport(), eZCharTransform\wordSeparator(), eZLog\write(), eZDebug\writeFile(), and eZLog\writeStorageLog().