Get the current language from a REGION_INFO event.
#include <bps/region.h>
BPS_API const char* region_event_get_language(bps_event_t *event)
BlackBerry 10.0.0
The REGION_INFO event to extract the current language from.
The region_event_get_language() function extracts the current language tag (e.g., en, fr, es, etc.) from the specified REGION_INFO event.
The language 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 language.