views:

51

answers:

1
+1  Q: 

i18n jira problems

hello,

im not sure if its a jira problem or me not doing it properly, the latter more likely!

I have a file properties file called rootcause it is in a directory sturcture net/mycompany/rootcauseanalysis

in my jira atlassian-plugin.xml file I have

<resource type="i18n" name="i18n" location="net.mycompany.rootcauseanalysis.rootcause"/>

in my properties file I have properties defined like

rootcause.name=My plugin

in my java file which extends JiraWebActionSupport i use

String str=getText("rootcause.name");

when I print this out I get rootcause.name instead of the My plugin value I was expecting to get.

I have tried troubleshooting this problem by changing directory structure, file names, property names, using " and ' running out of ideas now!

+1  A: 

done it :D

This is a hack I found on the forums solved my problem

http://forums.atlassian.com/thread.jspa?messageID=257351842&#257351842

Alex Edwards