Get the current script from a LOCALE_INFO event.
#include <bps/locale.h>
BPS_API const char* locale_event_get_script(bps_event_t *event)
BlackBerry 10.0.0
The LOCALE_INFO event to extract the current script from.
The locale_event_get_script() function extracts the current script (e.g., Hans, Hant, etc.) from the specified LOCALE_INFO event.
The script returned is from the language codes defined by ISO 639-1 ( http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ), using the rules set by BCP47 ( http://tools.ietf.org/html/bcp47 ).
The current script.