Transformer method. Return i18n message of a given key and args.

@param key
@param args
@return the i18n message
431957
@Transformer(requireTemplate = true)
    public static String i18n(Object key, Object... args) {
        return i18n(null, key, args);
    }
457607
protected String getI18n(final String aMessageKey, final long aLongDetail) {
        return StringUtils.normalizeWS(myBundle.get(aMessageKey, Long.toString(aLongDetail)));
    }
1097212
public String getText(String key, Object... args) throws MissingResourceException {
        ResourceBundle bundle = initRB();
        String message = bundle.getString(key);
        return MessageFormat.format(message, args);
    }
376413
protected String getI18n(final String aMessageKey, final int aIntDetail) {
        return StringUtils.normalizeWS(myBundle.get(aMessageKey, Integer.toString(aIntDetail)));
    }
141201
CmsMessageContainer message(String key, String... args) {

        return Messages.get().container(key, args);

    }
1304748
public static String getText(String key, ResourceBundle bundle, Object... arguments)
	{
		try
		{
			String value = bundle.getString(key);

			return MessageFormat.format(value, arguments);
		}
		catch (MissingResourceException ex)
		{
			return key;
		}
	}
158811
public String getMessage(final Locale locale, final String key) {
        return loadResource(locale).getMessage(key);
    }
506728
public static String getMessageText(I_CmsMessageBundle messages, String key, Object... args) {

        return messages.getBundle(A_CmsUI.get().getLocale()).key(key, args);
    }
1287745
public String localize(PrefixKind pk, String key, Object... args) {
        if (useRawMessages)
            return pk.key(key);
        else
            return messages.getLocalizedString(pk.key(key), args);
    }
472721
public String getMessage(final MSLocale locale, final String key) {
        if(locale == null) {
            return loadResource(null).getMessage(key);

        } else {
            return loadResource(locale.getLocale()).getMessage(key);
        }
    }
51959
protected String message(String key, Object... args) {

        return Messages.get().key(key, args);
    }
101388
@Trivial
    public static final String getMessage(String key, Object... params) {
        return TraceNLS.getFormattedMessage(Utils.class, tc.getResourceBundleName(), key, params, key);
    }
769083
public String getMessage(String key, Object[] parameters)
	{
		return getMessage(key, Locale.getDefault(), parameters);
	}
824008
public Collection<Argument> getArguments(final String key) {
        final Collection<Argument> args = map.get(key);
        if (args != null) {
            return new ArrayList<>(args);
        }
        return Collections.emptyList();
    }
1344068
String getText(String key, Object... args) {
        return messages.getLocalizedString(locale, key, args);
    }
1215397
public static String getMessage(String code, Object... args) {
		return getMessage(I18nUtils.getLocale(), code, args);
	}
311488
public function tl(string $key, array $args = [], $lang = '')
    {
        return $this->translate($key, $args, $lang);
    }