Thursday, April 30, 2015

ADF BC Tester Locale Configuration

Hi everyone. This is just a small post about how you can add more locales to the ADF BC tester in order to try your i18n at this layer. It's just about configuration (works on 11g and 12c), therefore, if you are interested in how to develop i18n for your ADF BC layer, you should wait for read my next post.

ADF BC Tester is a great tool which allows us to test our ADF BC layer before we move to the ADF Faces layer, this is important since it will help us identify possible bugs in the right layer. By default the tester will launch in the locale defined for your application module:



If you run the tester using the default configuration, you will end up with something like this:



But if we want to try a different locale for your ADF BC layer, we need to change the application module locale configuration (shown above) before running the tester. However, this is not a good practice. The ADF BC Tester can be configured to show a menu with different locales to be used.
In JDeveloper, go to Tools->Preferences->ADF Business Components->Tester:



Add as many locales as you want and once you run your ADF BC Tester again, you will notice the new menu with the selected locales:






see ya!