- Ensure to create properties file for each loacle, Below example, two properties files , One is for English and another one is for French/Canadian.
- Configure all the supported loacle in faces-config.xml as shown below screenshot.
- Load the Properties file in page as shown below, Ensure to use <f:loadBundle> component to load properties file
- Below is the way to access properties file associated entries on UI page.
- To test Internationalization changes in Firefox, Make below changes..
Tool -> Options ->Changes then select the language you want to test and move it to top then click on Ok, Refresh your page.
nice article!
ReplyDelete