public class GadgetI18nHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LABEL_KEY_PREFIX
Prefix used for localization key
|
Modifier and Type | Method and Description |
---|---|
static String |
getI18nGadgetDescription(String gadgetName,
Locale locale)
Returns the localized description of a gadget.
|
static String |
getI18nGadgetTitle(String gadgetName,
Locale locale) |
public static final String LABEL_KEY_PREFIX
public static String getI18nGadgetDescription(String gadgetName, Locale locale)
gadgetName
- name of the gadgetlocale
- the locale to localize (if null then "en")Copyright © 2014 Nuxeo SA. All rights reserved.