Re: Using il8n text in an interceptor

2008-02-13 Thread Grish
Well I read this: "package.properties (of the directory where class is located and every parent directory all the way to the root directory)" and tried moving around the package.properties around but findDefaultText always returns null. My actions though are still able to retrieve the proper te

Re: Using il8n text in an interceptor

2008-02-12 Thread Grish
Thanks for the suggestion! I tried integrating it to my code but the problem is findDefaultText always returns null. I traced the name and the locale that I am passing and they are correct. my package_en_US.properties is in my org.test.app.action package. My interceptor is in the org.test.app.in

Re: Using il8n text in an interceptor

2008-02-12 Thread Pablo Vázquez Blázquez
// For future i18n purpose private String translate(String name) { String i18Name = LocalizedTextUtil.findDefaultText(name, locale); if (i18Name == null) { i18Name = name; } return i18Name; } Grish escribió: I'm studyi