Prior to the fork of Drupal, locale_language_list() was removed. issue:

Although it was described as though these two functions were redundant, locale_language_list() had the helpful ability to return an array suitable for use in a select list. Backdrop 1.2.0 restores this ability by adding a second parameter to the language_list() function.

Prior to Backdrop 1.2.0:

= array();
foreach (
language_list() as $langcode => $language) {
$languages[$langcode] = $language->name;

Backdrop 1.2.0 and later:

= language_list(FALSE, TRUE);
Introduced in branch: 
Introduced in version: 
Module developers
Related Github Issues: