From: Seamus Lee Date: Thu, 23 Jul 2020 02:40:50 +0000 (+1000) Subject: [NFC] Update locale over-ride documentation to mention that it is mostly by-passed... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fddd5fca93d34c573cfad16d077fe24ecb3fb3ba;p=civicrm-core.git [NFC] Update locale over-ride documentation to mention that it is mostly by-passed now in WordPress --- 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');