Adding support for localization
The union of the previous recipes of this book provides you with a complete set of tools to develop what could be a successful game except for its narrow audience.
Libgdx comes with an out of the box internationalization and localization (i18N) system, which means that you will be able to localize your application according to the user's needs without the hassle of implementing your own or hardcoding. In addition, this will allow you to have one or more language files that will contain all the strings of your application, identified by a name that will abstract you from dealing with each language separately.
This data-driven approach fits perfectly for nonprogrammers, translators, or community projects where everybody ...
Get Libgdx Cross-platform Game Development Cookbook 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.