public class TranslationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LOCALE |
Constructor and Description |
---|
TranslationHelper() |
Modifier and Type | Method and Description |
---|---|
protected static ResourceBundle |
getBundle(String lang) |
static Map<String,String> |
getTranslatedLabels(Map<String,String> labels,
String lang) |
static String |
getTranslation(String key,
String lang) |
public static final String DEFAULT_LOCALE
public TranslationHelper()
protected static ResourceBundle getBundle(String lang)
public static String getTranslation(String key, String lang)
Copyright © 2015 Nuxeo SA. All rights reserved.