I've developed plugin and now it's time to internatiolize it.

<resource type="i18n" name="i18n" location="croc.apechnikov.PrTab"/> in atlassian-plugin.xml

in package .../resources/croc/apechnikov/ I have 2 files: PrTab.properties and PrTab_ru_RU.properties.
But my plugin isn't translated at all!

Do you have any versions why?

2 answers

1 accepted

This widget could not be displayed.

I've found an answer. Nowhere was written that PrTab.properties and PrTab_ru_RU.properties must be identical(((( that's a very stupid fail

Interesting. What do you mean by identical? Can have only same properties?

I am using not identical files and its working just fine.

Jobin, yes. When i did them the same, everything began to work.
Jan, that's strange.

This widget could not be displayed.

Is it reading the key values? If it is only the transition which is failing, are you using the correct language?

And you have Russian selected in your user profile?

yes, it is, but only from PrTab.properties and not from PrTab_ru_RU.properties for Russian language. I'm programming this plugin for multiple languages if this may help.

Yes, i have but still don't works. I think there some problems with identifying PrTab_ru_RU.properties. May be i need somewhere in atlassian-plugin xml type something that tells jira to use PrTab_ru_RU.properties when language is set to russian?

Wherever you need translation, use the resolver's getText method.

I've imported I18N resolver module, but i need translation only in plugin description and in velocity templates.

protected Map createVelocityParams(BrowseContext ctx)


Map params = JiraVelocityUtils.getDefaultVelocityParams(super.createVelocityParams(ctx), authenticationContext);

.........some code.........


return params;


View template:


nothing works((

Jobin, thank you very much for your help.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

141 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you