SyntaxFix
Write A Post
Hire A Developer
Questions
You can do this:
And to capture locale. You can do this:
private static final String LOCALE = LocaleContextHolder.getLocale().getLanguage() + "-" + LocaleContextHolder.getLocale().getCountry();