Localizing the Strings
In this app, the GUI contains one TextView
that displays a string and two content-description strings for the ImageView
s. All of these strings were defined as string resources in the strings.xml
file. You can now translate the strings in the new version of the strings.xml
file. App-development companies often have translators on staff or hire other companies to perform translations. In fact, in the Google Play Developer Console—which you use to publish your apps in the Google Play store—you can find translation-services companies. For more information on the Google Play Developer Console, see Chapter 9 and
For this app, you’ll replace the strings
Get Android™ How to Program, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.