Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

internationalization doesn't work in my velocity template

IMENE FIRAS
September 5, 2021

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!

3 answers

0 votes
Candace Phelps
Contributor
September 8, 2017

We have used the Flag on Stories / Tasks to show when they are blocked. The problem we've run into with this is that it's granualr but doesn't show at a high level project-level blockers.

0 votes
Michael Alford
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 14, 2017

A plugin that displays dependencies (specifically the "is blocked by" issue links) directly on the Backlog view of the Scrum board is Dependency Risk for JIRA.   I know it doesn't (yet) display anything directly on the card, but does the plugin help with your need to show blockers? 

(Disclaimer:  I am the developer of the Dependency Risk add-on.)

0 votes
QuentinB
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 10, 2017

A solution is to use a plugin : JQL Tricks Plugin
In your board Configuration -> Card Colors -> Colors based on queries -> Use JQL filter with JQL Tricks Plugin

Suggest an answer

Log in or Sign up to answer