• Post Reply Bookmark Topic Watch Topic
  • New Topic

Internationalization not working beyond one page (Struts 1)

Agnieszka Nocek
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I've been trying to do language selection in Struts 1 (yes, i have to use those). However, after sucessfully changing the language on the login page, after logging in the language just reverts to the default. Can you tell me what i'm doing wrong here? What i need to do is select the language for the whole portal from the login page. Here's what I've done so far:

1) I have 3 property files with translated messages:
default ApplicationResources.properties
english ApplicationResources_en.properties
russian ApplicationResources_ru.properties

2) Entry to struts-config.xml

3) LanguageSelectAction class

4) Links in login.jsp:

Any idea what i'm doing wrong here? Any advice is appreciated! I might be making some obvious beginner error, since i've only been using struts since yesterday:P

What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!