i think you can name the resource bundle files appropriately for the locale and 
put them in the same package as the action classes.
 
look at the I18n Interceptor

adam

----------------------------------------
> Date: Thu, 4 Mar 2010 11:19:53 +0530
> Subject: Locale and custom variables
> From: abhishek.netj...@gmail.com
> To: user@struts.apache.org
>
> Hi friends,
>
> I have a few variables who have diff values depending on the locale /
> country.
> I do want to use a message-resources for storing the values of those
> varaibles,
> I do not know how to get these variables in my Action (I want them in action
> and not jsp),
> Can any one help,
> I have tried System.out.println(getResources(request,"id2")); after setting
> a locale and it do not work.
>
> Pl. help,
> --
> Thanks and kind Regards,
> Abhishek jain                                           
_________________________________________________________________
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to