From fddd5fca93d34c573cfad16d077fe24ecb3fb3ba Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 23 Jul 2020 12:40:50 +1000 Subject: [PATCH] [NFC] Update locale over-ride documentation to mention that it is mostly by-passed now in WordPress --- templates/CRM/common/civicrm.settings.php.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/CRM/common/civicrm.settings.php.template b/templates/CRM/common/civicrm.settings.php.template index 81239fa14c..7c8acd8106 100644 --- a/templates/CRM/common/civicrm.settings.php.template +++ b/templates/CRM/common/civicrm.settings.php.template @@ -432,6 +432,11 @@ if (!defined('CIVICRM_PSR16_STRICT')) { * configuration option, but wish to, for example, use fr_CA instead of the * default fr_FR (for French), set one or more of the constants below to an * appropriate regional value. + * + * Note that since 5.26.0 specifically https://github.com/civicrm/civicrm-core/pull/16700 + * This generally doesn't get used by WordPress especially if using the Polylang plugin. + * The reason is that the WordPress implementation has been changed to get the full locale + * from the WordPress plugin rather than just the 2 string language code. */ // define('CIVICRM_LANGUAGE_MAPPING_FR', 'fr_CA'); // define('CIVICRM_LANGUAGE_MAPPING_EN', 'en_CA'); -- 2.25.1