I have developed a plugin that is currently unpublished. The src/main/resources/index.jelly
file contains a brief English description that is displayed in the plugin manager after installation. I’d now like to translate this description to Finnish.
Internationalizing Messages in Jelly Views looks relevant. So I made the index.jelly file exactly what is shown on that page:
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:s="/lib/form">
<div>${%message}</div>
</j:jelly>
and moved the plugin description into a “message” entry in a new index.properties file, with the Finnish translation in index_fi.properties. However it does not work. The plugin manager now does not show this plugin in the list of installed plugins at all, and the Jenkins log shows
Caught exception: org.apache.commons.jelly.JellyException: Unable to create expression: %message
Does this mean translating the plugin description via a properties file is not possible? Is there an alternative way?