Pebble Foundation Classes  0.2.0
C++ for Pebble
Internationalization

Internationalization & Localization APIs. More...

Collaboration diagram for Internationalization:

Functions

const char * i18n_get_system_locale (void)
 

Detailed Description

Internationalization & Localization APIs.

Function Documentation

◆ i18n_get_system_locale()

const char* i18n_get_system_locale ( void  )

Get the ISO locale name for the language currently set on the watch

Returns
A string containing the ISO locale name (e.g. "fr", "en_US", ...)
Note
It is possible for the locale to change while your app is running. And thus, two calls to i18n_get_system_locale may return different values.