• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a key:value list with EL and Internationalization

 
ezani abd halim
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

Say I have a simple list like this in a JSP page:



What I want is to include 118N internationalization for the above list so that it displays 'Company Name' and 'MOF No' in the mapped language. I have created a resource bundle with entries as follows (in the properties file of each language used):-



So now how do I translate the above list to the tags above so that it displays in both language depending on the locale (and also maintaining the mapped keys) ?

Many thanks for your help!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!