Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle ADF Enterprise Application Development Made Simple: Second Edition

You're reading from   Oracle ADF Enterprise Application Development Made Simple: Second Edition

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher
ISBN-13 9781782176800
Length 432 pages
Edition Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Sten E Vesterli Sten E Vesterli
Author Profile Icon Sten E Vesterli
Sten E Vesterli
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Oracle ADF Enterprise Application Development – Made Simple Second Edition
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
1. The ADF Proof of Concept 2. Estimating the Effort FREE CHAPTER 3. Getting Organized 4. Productive Teamwork 5. Preparing to Build 6. Building the Enterprise Application 7. Testing Your Application 8. Changing the Appearance 9. Customizing Functionality 10. Securing Your ADF Application 11. Packaging and Delivery Internationalization Index

Running your localized application


With the translated files back and integrated into the application, it's time to test the localized versions.

Testing the localized Business Components

When you right-click on an application module to run it through the Business Component Browser, it will run by default in the language selected in your operating system. If you are running Microsoft Windows, the Business Component Browser will show the label-control hint in the language that you have selected in the Windows Control Panel (under Region and Language).

You can override this by setting the default language of your application module. This is done by right-clicking on the application module, choosing Configurations, and then Edit. On the Properties tab, scroll down to the jbo.default.language property and set a value to force the Business Component tester to show your application module in that language, as shown in the following screenshot:

Testing the localized user interface

When you are running the application, you will be running web pages in a browser. It is part of the HTTP protocol that the browser will send an ordered list of the languages in which it would like to see content, so that the web server can serve up this content if it is available.

You can set the language preferences in the browser as shown in the following screenshot:

Note that the browser language settings determine a priority, so the preceding setting means to first ask for a German version of the page and then a Danish one. If your ADF application does not support any of the requested languages, it will revert to the default language defined in the faces-config.xml file.

To test your application in different languages, it is enough to change the order of the languages in your web browser and refresh the page—the page will be redrawn in the first language that your application supports.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime