Locale-Sensitive Java Method
public static String format(String format,
public static String format(Locale l,
Internationalization (I18n) Function Overview
format method returns a formatted string using the specified locale (if provided), format string, and arguments.
In an internationalized application, the order of the translated pieces of the string can be different for each locale.
Make sure the locale has been properly set (see
setlocale), and that
the signature with the locale is the one used.
Globalyzer will detect this method and report it as an I18n issue
regardless of the signature used and regardless of whether it is being
used correctly. If
Locale is already being passed as an argument,
Globalyzer will detect it to force developers to double check that the
Locale is being passed. If you have determined that
the call is being handled correctly, you can
use Globalyzer's Ignore Comment
functionality to ensure that it isn't picked up in a subsequent scan.