}
public String get(String key, String language, Object... args) {
Properties messages = getMessagesForLanguage(language);
String value = messages.getProperty(key);
if (value != null) {
<BUG>String message = formatMessage(value, language, args);

return message;</BUG>
} else {
log.warn("Failed to find '{}' in Messages", key);

}
public String get(String key, RouteContext routeContext, Object... args) {
String language = languages.getLanguageOrDefault(routeContext);
return get(key, language, args);
}
public String get(String key, String language, Object... args) {
Properties messages = getMessagesForLanguage(language);
String value = messages.getProperty(key);
if (value != null) {
return formatMessage(value, language, args);
} else {
log.warn("Failed to find '{}' in Messages", key);
