strip encoding suffix in locale name like zh_CN.utf8
So that we can automatically change to language defined in
the LANGUAGE or LANG env variable.
automatically set language on Android