/** * Translates the given string and then formats it. Equivilant to String.format(translate(key), * parameters). */ public static String format(String translateKey, Object... parameters) { return i18nLocale.formatMessage(translateKey, parameters); }