From afd5a927cda43d20de6c501e121871c69319efca Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 4 Mar 2022 12:30:10 +1300 Subject: [PATCH] Fix the world --- CRM/Core/I18n.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CRM/Core/I18n.php b/CRM/Core/I18n.php index 292b49c33e..3b471c950e 100644 --- a/CRM/Core/I18n.php +++ b/CRM/Core/I18n.php @@ -248,9 +248,15 @@ class CRM_Core_I18n { */ public static function getLocaleOptions(): array { $values = CRM_Core_OptionValue::getValues(['name' => 'languages'], $optionValues, 'label', TRUE); + $return = []; foreach ($values as $value) { $return[$value['name']] = $value['label']; } + // Sorry not sorry. + // Hacking in for now since the is probably the most important use-case for + // money formatting in an English speaking non-US locale based on any reasonable + // metric. + $return['en_NZ'] = ts('English - New Zealand'); return $return; } -- 2.25.1