kcms/regionandlanguage: Improve exampleutility.cpp
requested to merge easternli/plasma-workspace:improve-kcm-region_language-exampleutility into master
- Don't try to call
nl_langinfo
if we failed to set locale. - Use
uiLanguages
instead ofbcp47Name
to get the list of languages used by ki18n. - Increase the strictness of finding metadata files.