Spring 다국어 처리
Spring은 Locale에 따라 다국어 메시지 처리를 위해 MessageSource라는 이름의 전략 인터페이스를 제공해준다. 이번 글에서는 MessageSource를 이용해 다국어 처리를 하는 방법을 알아보자 MessageSource Spring이 메시지를 가져올 때 사용하는 MessageSource의 구현체는 아래 두 가지가 있다. ResourceBundleMessageSource: 리소스 번들(properties 파일)로 부터 메시지를 읽는다. ReloadableResourceBundleMessageSource: 리소스 번들이 수정되면 애플리케이션을 재시작하지 않고 다시 로딩하여 메시지를 읽는다. Spring에서 MessageSource 객체를 사용하기 위해선 아래와 같이 "messageSource..
프로그래밍/Web
2019. 9. 24. 20:22
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- @Qualifier
- Linux
- Express
- thymeleaf cannot resolve
- @Component
- 클로저
- @Bean
- MySQL
- Bin
- @Autowired
- mybatis
- spring batch
- npm
- Tasklet
- nodejs
- chunk
- Barycentric coordinates
- spring
- unity
- Check point within polygon
- Closure
- Bean
- JavaScript
- thymeleaf 변수 인식
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함