IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side APIWL.App.getDeviceLocale
Return the locale code according to user device settings, for example: en_US.WL.App.getDeviceLocale()
On BlackBerry 6 and 7, this method returns the device language (for example, en), not the device locale.
Parent JavaScript client-side API