{"provider_url":"https://hatena.blog","blog_url":"https://okazuki.hatenablog.com/","categories":["Spring Boot","Java"],"published":"2015-07-13 12:21:02","provider_name":"Hatena Blog","url":"https://okazuki.hatenablog.com/entry/2015/07/13/122102","width":"100%","image_url":null,"author_url":"https://blog.hatena.ne.jp/okazuki/","height":"190","version":"1.0","title":"MessageSource\u306e\u3082\u3068\u306b\u306a\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u30d5\u30a1\u30a4\u30eb\u3092\u8907\u6570\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5","description":"Spring Boot\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067messages.properties\u304b\u3089\u53d6\u5f97\u3055\u308c\u307e\u3059\u3002Thymeleaf\u304b\u3089\u306f <span th:text=\"#{hogehoge}\">XXX</span> \u306e\u3088\u3046\u306b\u53d6\u5f97\u3057\u307e\u3059\u3002 \u3053\u306emessages.properties\u304c\u6c17\u306b\u5165\u3089\u306a\u3051\u308c\u3070application.properties\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u8a2d\u5b9a\u9805\u76ee\u3092\u4f7f\u3044\u307e\u3059\u3002 spring.messages.basename=XXXXX hoge.properties\u3092\u4f7f\u3044\u305f\u3051\u308c\u3070 spring.messages.basename=hoge \u306e\u3088\u3046\u306b\u4f7f\u3044\u307e\u3059\u3002 \u3053\u3053\u3067\u3001\u30e1\u30c3\u30bb\u2026","author_name":"okazuki","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokazuki.hatenablog.com%2Fentry%2F2015%2F07%2F13%2F122102\" title=\"MessageSource\u306e\u3082\u3068\u306b\u306a\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u30d5\u30a1\u30a4\u30eb\u3092\u8907\u6570\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5 - \u304b\u305a\u304d\u306eBlog@hatena\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u304b\u305a\u304d\u306eBlog@hatena","type":"rich"}