You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Blair <bl...@computingoptions.com> on 2003/10/28 01:45:53 UTC
LookupDispatchAction and I18N
Greetins all,
As a newbie in struts, I am sure this is something simple. I have some
LookupDispatchActions setup and working fine. Now, I want to
internationalize this app. I created a second resource file ending in es_MX.
Ok, now what happens is when it does the lookup to find the method in my
action class it uses the translated text as the method name so obviously it
doesn't find it. Is there something simple I am missing?
Some basics.
application.properties
button.edit=Edit
application_es_MX.properties
button.edit=NYT
LookupDispatchAction
map.put("button.edit", "Edit");
and I have a method called Edit.
When I run the other language version, it tries to call a method of NYT
instead of Edit.
Any clues?
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org