Correctly identify language and region on all Qt platforms.