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

0 votes
Accepted answer

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.

0 votes

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
Community showcase
Posted 11 hours ago in Canada

Happy New Year - First AUG of the year - great success

Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019.  We had our first AUG last night featuring Tempo Timesheets.  A great presentation and lots of int...

15 views 0 1
View post

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