public static String getLocalizedString(String key, List<?> arguments) {
        Locale locale = JiveGlobals.getLocale();

        ResourceBundle bundle = ResourceBundle.getBundle(resourceBaseName, locale);
        return getLocalizedString(key, locale, arguments, bundle);
    }
Returns an internationalized string loaded from a resource bundle using
the locale specified by JiveGlobals.getLocale() substituting the passed
in arguments. Substitution is handled using the
{@link java.text.MessageFormat} class.

@param key the key to use for retrieving the string from the
     appropriate resource bundle.
@param arguments a list of objects to use which are formatted, then
     inserted into the pattern at the appropriate places.
@return the localized string.
xmppserver/src/main/java/org/jivesoftware/util/LocaleUtils.java