Multiple languages supported for multiple xhtml pages

187 Views Asked by At

I'm developing a JSF web project which provides technical tutorials for readers. I ran into a dilemma in which I'll have to support multiple languages for each tutorial page. It's tempting to go with resource bundle but hold on a second, should I really create multiple resource bundles for individual tutorial page...It's gonna be huge if I have 100 tutorial pages and each page support 4 or 5 kinds of language.

How should it be done? Could you tell me your solution, ideas?

1

There are 1 best solutions below

1
On

define main prop file

i18n.properties
and for each language new property 
i18n_ru.properties
i18n_am.properties
i18n_es.properties