Standard locale functions.
Set the app's locale for a category of routines.
setlocale
can be used to:
set the app's locale to a specific locale: setlocale(LC_ALL, "en_CA")
set the app's locale to the system locale: setlocale(LC_ALL, "")
get the app's curent locale: setlocale(LC_ALL, NULL)
Currently, we only support two categories: LC_ALL and LC_TIME
The category of routines for which to set the locale
The ISO formatted locale to use, or "" for the system locale
the locale after the change is applied, NULL on failure (e.g. unsuported category)
Do you have questions about the Pebble SDK?
Do you need some help understanding something on this page?
You can either take advantage of our awesome developer community and check out the SDK Help forums, or you can send us a message through the website!