From: Mathieu Lutfy Date: Fri, 2 May 2014 02:05:12 +0000 (-0400) Subject: CRM-13068: better document native gettext in the civicrm.settings.php.template. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de67bc86e89571ef52779d0a49041ba86fcd85b8;p=civicrm-core.git CRM-13068: better document native gettext in the civicrm.settings.php.template. --- 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. *