I tried get translated message with regard locale(ru,uk,en). But on output have next: ?????? instead normal translate. EN message return in normal form.
public String getMessage(String key) {
Locale locale = LocaleContextHolder.getLocale();
return context.getMessage(key, null, locale);
}
Aucun commentaire:
Enregistrer un commentaire