« Return to Thread: Internalization problem: two internalizations for the same key

Internalization problem: two internalizations for the same key

by Jukka Välimaa :: Rate this Message:

Reply to Author | View in Thread

Hi everyone,

I have the following lines in my jsp file:
<s:select
        label="%{getText('workingTeam.team')}" name="teamId" listKey="id"
listValue="name"
        list="workingTeams" />

<s:text name="workingTeam.team" />

Of these two, using text tag gives me the internalization that has been
selected as internationalization for the application. Using getText for
select label gives me internalization in Finnish, no matter what is the
selected internationalization. All internationalizations are in their own
global ApplicationResources files. getText method is the standard method
from ActionSupport.

Any idea what is the cause of this, and what might be the solution?

 « Return to Thread: Internalization problem: two internalizations for the same key