Class I18nHelper
java.lang.Object
org.nuxeo.ecm.platform.suggestbox.service.suggesters.I18nHelper
Simple interpolation for i18n messages with parameters independently of the UI layer. Only support parameter
replacement with the "{0}", "{1}"... syntax.
- Author:
- ogrisel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic I18nHelper
instanceFor
(Map<String, String> messages) static String
interpolate
(String message, Object... params)
-
Field Details
-
PLACEHOLDER
-
messages
-
-
Constructor Details
-
I18nHelper
-
-
Method Details
-
instanceFor
-
interpolate
-
translate
-