Set correct language code based on user setting