Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications
by James Talbot, Justin McLean, Jorge Hernandez
Supporting Various Languages
Not all countries speak English as their native language, so it makes sense to provide your app in as many languages as you can. The Android platform makes it easy.
Language support has improved with each version, with Jelly Bean adding improved support for several languages (such as Korean, Japanese, Thai, Arabic, and Hebrew). In addition, Jelly Bean has full support for right-to-left languages like Arabic and Hebrew.
During development, Android encourages you to place each of the strings you use—such as your app name, button labels, menu labels, and activity titles—into a resource file. Recall that in the On Your Bike app, you placed all these values in the res/values/strings.xml file. Just as you can for various ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access