We are using struts 1.2.4 at work and I'm having a problem with html:messages tag. In the attached code, you can see that for the property "warning", I'm trying to display all the errors in the locale ${locale} (set dynamically to en_US, ru_RU, es_MX, etc).
The error messages show up just fine, but the problem is that they are ALWAYS in English.
No matter what I set ${locale} to, or even if I hard-code something like locale="ru_RU", the text is always pulled from my english resource bundle. I know my other 14 resource bundles work fine, as the rest of my UI shows up correctly in any language I need.
Is this a bug with struts and if so, is there a workaround?
The error messages show up just fine, but the problem is that they are ALWAYS in English.
No matter what I set ${locale} to, or even if I hard-code something like locale="ru_RU", the text is always pulled from my english resource bundle. I know my other 14 resource bundles work fine, as the rest of my UI shows up correctly in any language I need.
Is this a bug with struts and if so, is there a workaround?