Hide language flag on this language page?
if you want add class language to body. You can use hook_preprocess_html with code:

function Your_Theme_preprocess_html(&amp;$vars){
  $language = \Drupal::languageManager()-&gt;getCurrentLanguage()-&gt;getId();
  $vars['attributes']['class'][] = $language;
}


class current language will add to body.