Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating a key:value list with EL and Internationalization  RSS feed

ezani abd halim
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!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!