Skip to content

Commit

Permalink
Add @bean
Browse files Browse the repository at this point in the history
  • Loading branch information
André Laugks committed Oct 4, 2024
1 parent 8c8dd15 commit a58a9b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ import java.util.Locale;

@Configuration
public class MessageSourceConfig {


@Bean
public MessageSource messageSource() {
XliffTranslationMessageSource messageSource = new XliffTranslationMessageSource();
messageSource.setDefaultLocale(Locale.forLanguageTag("en"));
Expand Down

0 comments on commit a58a9b7

Please sign in to comment.