Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Internatinalization and Naming properties file

 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
suppose i have a properties file say maps.properties
file, and i have added it to the struts-config file
like below
<message-resources parameter="com.pfizer.maps.maps"
key="org.apache.struts.action.MESSAGE"/>
now if i want to make different files for different
language support, what will be the naming convention i
will follow, like for us english should my file name
be
maps_us_EN.properties,
so that struts can read them and change the language
on fly when i set the local in user session.
is there any place i can get info about these names
for different languages
 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the documentation on the struts site and the sonic storefront example on the resources
page
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic