Skip to content

Commit

Permalink
disable default locale for messagesource to ensure all translations a…
Browse files Browse the repository at this point in the history
…re present
  • Loading branch information
ubhaller committed Oct 23, 2020
1 parent 585a07d commit d3486dd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ public MessageSource messageSource() {

messageSource.setBasename("classpath:i18n/messages");
messageSource.setDefaultEncoding("UTF-8");
messageSource.setFallbackToSystemLocale(false);
messageSource.setDefaultLocale(null);
return messageSource;
}

Expand Down

0 comments on commit d3486dd

Please sign in to comment.