Issue #2446379 by hswong3i, mbovan: Replaced language_load() with \Drupal::languageManager()->getLanguage().