You assign to `lang_slug` above then use `language` here perhaps remove `lang_slug` above and directly use `proj.language` here.