```
char* language_info = vconf_get_str(VCONFKEY_LANGSET);
if (!language_info)
  return false;
```

and below `if (country_info) {` is not needed, please move out the code in that block.