Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I18N - new locale support without repackaging of war  RSS feed

 
tsc
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My JSF application has support for French and English strings. I have provided French and English resource bundles . In my faces-config.xml file, I have set the <default-locale> to be 'en' and <supported-locale> as 'fr'.

The application is now deployed by a customer who wants to provide support for Spanish.

Is there a way to provide this support without requiring modification of the faces-config.xml file and repackaging of the war file.

Ideally I'd like the customer to simply provide the Spanish resource bundle somewhere on the application server and my application should load that resource bundle.
Restart of the server is not an issue, but it should not require repackaing of the application's war file.

Can this be done in JSF and if yes, how.

thanks,
tsc
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!