From de67bc86e89571ef52779d0a49041ba86fcd85b8 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Thu, 1 May 2014 22:05:12 -0400 Subject: [PATCH] CRM-13068: better document native gettext in the civicrm.settings.php.template. --- templates/CRM/common/civicrm.settings.php.template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/templates/CRM/common/civicrm.settings.php.template b/templates/CRM/common/civicrm.settings.php.template index c529325e32..858de48ece 100644 --- a/templates/CRM/common/civicrm.settings.php.template +++ b/templates/CRM/common/civicrm.settings.php.template @@ -251,6 +251,20 @@ define( 'CIVICRM_MEMCACHE_PREFIX', '' ); // define('CIVICRM_LANGUAGE_MAPPING_PT', 'pt_BR'); // define('CIVICRM_LANGUAGE_MAPPING_ZH', 'zh_TW'); +/** + * Native gettext improves performance of localized CiviCRM installations + * significantly. However, your host must enable the locale (language). + * On most GNU/Linux, Unix or MacOSX systems, you may view them with + * the command line by typing: "locale -a". + * + * On Debian or Ubuntu, you may reconfigure locales with: + * # dpkg-reconfigure locales + * + * For more information: + * http://wiki.civicrm.org/confluence/x/YABFBQ + */ +// define('CIVICRM_GETTEXT_NATIVE', 1); + /** * Configure MySQL to throw more errors when encountering unusual SQL expressions. * -- 2.25.1