CRM-13068: better document native gettext in the civicrm.settings.php.template.
authorMathieu Lutfy <mathieu@bidon.ca>
Fri, 2 May 2014 02:05:12 +0000 (22:05 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Fri, 2 May 2014 02:06:01 +0000 (22:06 -0400)
templates/CRM/common/civicrm.settings.php.template

index c529325e32cf83a5986efd503c959d9feb1562c5..858de48ece21efb1558639649bfa7617b60cebbf 100644 (file)
@@ -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.
  *