Hi, Community,
in my Jira plugin, I have created a servlet module that renders a Velocity file.
the problem is that internationalization doesn't work only in this file which is rendered by servlet, however, it works the rest of velocity files created by other modules.
when I have for example:
<h1>$i18n.getText("key. Title")</h1>
it renders ' $i18n.getText("key.title") ' in the interface.
I added my velocity file in atlassian.plugin.xml like that:
<web-resource name="gedSearcher" i18n-name-key="ged-searcher.name" key="ged-searcher">
<description key="ged-searcher.description">The gedSearcher Plugin</description>
<resource name="ged searcher" type="velocity" location="templates/GEDSearcher.vm"/>
</web-resource>
but it still doesn't work, could anyone help me please to solve this problem!