fix get language in view