I want to write a native application in c to get the value of language in Tizen. The compiled c code must be run on the Tizen phone and I need to get the Value of language. The callback function i got from Tizen source is
int app_cb_broker_appcore_lang_changed(void *data)
{
app_language_changed_cb lang_changed_cb;
lang_changed_cb = app_context.callbacks->language_changed;
if (lang_changed_cb != NULL)
{
lang_changed_cb(app_context.user_data);
}
return 0;
}
How to use this function to get the value of current language?