locale_event_get_locale()

Get the locale string from a LOCALE_INFO event.

Synopsis:

#include <bps/locale.h>
 
BPS_API const char* locale_event_get_locale(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The LOCALE_INFO event to extract the locale from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The locale_event_get_locale() function extracts the locale string without any processing (e.g., en_US, fr_FR, en_GR, etc.) from the specified LOCALE_INFO event.

Returns:

The current locale.