Fixed language autosetting.