Package org.ametys.web.cocoon
Class I18nUtils
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.core.util.I18nUtils
org.ametys.web.cocoon.I18nUtils
- All Implemented Interfaces:
Initializable
,Component
,Contextualizable
,LogEnabled
,Serviceable
Utils for i18n
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.core.util.I18nUtils
I18nUtils.Location
-
Field Summary
Fields inherited from class org.ametys.core.util.I18nUtils
_context, _locations, _resolver, APPLICATION, I18N_CACHE, MESSAGES, ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Configure the i18n cataloguevoid
service
(ServiceManager manager) Methods inherited from class org.ametys.core.util.I18nUtils
_createCache, _getI18NCache, _translate, clearCache, contextualize, getApplicationCatalogLocation, getDefaultCatalogLocation, getOverridableCatalogLocation, getParamCatalogLocation, getParamsFoldersWithI18n, initialize, reloadCatalogues, translate, translate, translate
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
I18nUtils
public I18nUtils()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classI18nUtils
- Throws:
ServiceException
-
_configure
Description copied from class:I18nUtils
Configure the i18n catalogue- Overrides:
_configure
in classI18nUtils
-