0

Is it possible to create multi language web pages with database resource?

Instead of "messages_EN.properties", "messages_HU.properties", and so on... I'd like to keep those texts in database. Is it possible to use this in the same way as properties files? For instance #{messages.hello} would depend on the current users language, and the text would be loaded from database, not properties file.

David Angyal
  • 231
  • 4
  • 13
  • possible duplicate of [Design question regarding Java EE entity with multiple language support](http://stackoverflow.com/questions/4499732/design-question-regarding-java-ee-entity-with-multiple-language-support) – BalusC Aug 13 '12 at 15:06

1 Answers1

0

First you should check this:

Correct java.util.ResourceBundle Organization

The way to do it is described here:

messages.properties taken from db

Community
  • 1
  • 1
gersonZaragocin
  • 1,122
  • 12
  • 20