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!

4 answers

1 accepted

3 votes
Answer accepted
Elisa [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2014

Hi Gavin, 

Remove that user from ALL groups.

Also, verify if for some reason this user is in the 'JIRA User' Global Permission. Then, remove him/her from that too.

Please let us know how that works out.

Cheers!

Gavin Thomas
September 11, 2014

Hi Elisa,

The user is not in any groups, and I've checked the global permission and the user isn't in that either. It looks like all 'users' that I have created are able to log in, despite them not belonging to a single group, and not counting towards my license.

 

Cheers

Elisa [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2014

Do you happen to have the anonymous login (https://confluence.atlassian.com/display/AOD/Managing+anonymous+access) activated?

1 vote
Sarah Elmer
Contributor
September 11, 2014

I agree with Davy, this should have relinquished their ability to see an actual dashboard, but only a "login" page. If you can still actually see a dashboard, I would contact Support and make sure you send them a screenshot.

1 vote
davy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2014

Hi Gavin,

Removing JIRA Application access for that user in the User Management will prevent the user from logging in.

Best Regards,

Ryans

 

 

Gavin Thomas
September 11, 2014

Hi Thanks Ryan, I've done that but they are still able to log in and see the dashboard

0 votes
Deleted user
September 12, 2014

Setting the user to inactive, prevents him from logging in:

Click on the user > Edit details > uncheck the active box

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events