Grails i18n From Database but Default Back To File

后端 未结 5 1302
抹茶落季
抹茶落季 2020-12-08 03:49

Following this blog article I enabled my application to load i18n messages from the database. It works great. However, I don\'t want to manage all messages in the database

5条回答
  •  我在风中等你
    2020-12-08 04:14

    resolveCode(code, locale) in AbstractMessageSource is an abstract method so you will not be able to call it. Try extending ResourceBundleMessageSource or ReloadableResourceBundleMessageSource instead.

提交回复
热议问题