Details
Description
I place some non-english messages in plugin grails-app/i18n/messages_ru.properties, then I install plugin to grails application and try to display them in this app using <g:message> tag. I receive non-readable characters instead of message text.
It seems that native2ascii tool not invoked on plugin package task
Issue Links
| This issue depends on: | ||||
| GRAILS-5107 | <g:message> tag broken / causing malformed markup |
|
|
|
I can confirm this issue. Special characters will not work in plugins right now.
Message property files of plugins are not loaded in the same way as the message properties of main web app.
I debugged ReloadableResourceBundleMessageSource#loadProperties and you can see that a processed version of the main web app properties will be loaded, but in case of plugins the original non-processed properties will be used.