12. Globalization

The Cordova Globalization API exposes methods an application can use to help identify the device’s current configuration for language plus the display and conversion of dates, numbers and currency values.

Many mobile applications are initially created with content in English, but in order to address a wider potential audience for the application, the developer may also provide content within the application in different languages. In order to do that, the application must be able to determine what language the user has configured on the device and switch in the appropriate content if available.

Additionally, any application that works with and displays decimal numbers, currencies, percentages, date and time values must be able ...

Get Apache Cordova API Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.