Change record status: 
Project: 
Introduced in branch: 
8.x
Introduced in version: 
8.0
Description: 

Drupal 8 now exposes three new special languages (Language not specified, Language not applicable and Multiple) as part of the regular language list. These languages are explained on the language list page.

The change for developers means the following:

Drupal 7

$all_languages = language_list(TRUE);
$enabled_languages = language_list();

Earlier Drupal 8 got disabled languages removed (See http://drupal.org/node/1548406). Now language_list() will get you either all configured non-locked languages, or all languages:

Drupal 8

$all_languages = language_list(LANGUAGE_ALL);
$only_non_locked_languages = language_list();

The $language->locked property identifies whether the language is locked or not.

Impacts: 
Site builders, administrators, editors
Module developers