Add a way to choose between nl_NL and nl_BE
authorSamuel Vanhove <samuel@symbiotic.coop>
Thu, 12 Nov 2020 16:39:47 +0000 (11:39 -0500)
committerSamuel Vanhove <samuel@symbiotic.coop>
Thu, 12 Nov 2020 16:39:47 +0000 (11:39 -0500)
CRM/Core/I18n/PseudoConstant.php

index 1866cf9eacd0d12d17477b793ba241b606b5447b..5962735870182ae54e0378a27a2789aef3312c0e 100644 (file)
@@ -65,6 +65,7 @@ class CRM_Core_I18n_PseudoConstant {
       $longForShortMapping['fr'] = defined("CIVICRM_LANGUAGE_MAPPING_FR") ? CIVICRM_LANGUAGE_MAPPING_FR : 'fr_FR';
       $longForShortMapping['pt'] = defined("CIVICRM_LANGUAGE_MAPPING_PT") ? CIVICRM_LANGUAGE_MAPPING_PT : 'pt_PT';
       $longForShortMapping['es'] = defined("CIVICRM_LANGUAGE_MAPPING_ES") ? CIVICRM_LANGUAGE_MAPPING_ES : 'es_ES';
+      $longForShortMapping['nl'] = defined("CIVICRM_LANGUAGE_MAPPING_NL") ? CIVICRM_LANGUAGE_MAPPING_NL : 'nl_NL';
     }
     return $longForShortMapping;
   }