The error messages you define for the business rules in your entity objects should also point to a string in a resource bundle instead of containing hard-wired error or warning messages.
If you have data in several languages in your tables and want to present it, for example, a list of values in a user language, you need a managed bean and a bind variable in your view object. The managed bean has access to the browser session variables, can retrieve the UI language, and store it in a variable. The view object can then use a bind variable assigned a value using the built-in
adf.context object to refer to the bean value. Therefore, if you have a
LocaleHelperBean with Session scope and a
userLanguage parameter, you would ...