Flemish missing from list of languages
Overview
It appears that the Flemish language (nl_BE), though in the localisation files, is missing from the list of languages in the database. This gives rise to this Notice:
[13-Apr-2020 10:44:40 Europe/Dublin] PHP Notice: Undefined index: nl_BE in .../CRM/Core/I18n.php on line 196
Reproduction steps
Run CiviCRM.
Current behaviour
[13-Apr-2020 10:44:40 Europe/Dublin] PHP Notice: Undefined index: nl_BE in .../CRM/Core/I18n.php on line 196
in the PHP log file
Expected behaviour
----------------------------------------
_What should happen._
Nothing
Environment information
----------------------------------------
<!-- Some of the items below may not be relevant for every bug - if in doubt please include more information than you think is necessary. -->
Seen in both Joomla and Drupal.
Comments
----------------------------------------
_Anything else you would like the reviewer to note._
Cured by running this script against the database.
INSERT INTO `<database>`.`civicrm_option_value` (`option_group_id`, `value`, `name`, `is_default`, `weight`, `is_optgroup`, `is_reserved`, `is_active`, `label_en_GB`) VALUES ('69', 'nl', 'nl_BE', '0', '194', '0', '0', '1', 'Flemish');