diff --git a/docs/general/i18n_l10n.md b/docs/general/i18n_l10n.md index 4cdeffbc800348ccb5fd2d77ad2a35242b87fa2a..0f47d24f2ac1b74aadad65d51bb3c37c03ef355e 100644 --- a/docs/general/i18n_l10n.md +++ b/docs/general/i18n_l10n.md @@ -52,6 +52,13 @@ For example, for Spanish CiviCRM core: ```sh wget https://download.civicrm.org/civicrm-l10n-core/mo/es_ES/civicrm.mo +``` + +For the CDN Tax Receipts extension in Canadian French: + +```sh +wget https://download.civicrm.org/civicrm-l10n-extensions/mo/cdntaxreceipts/fr_CA/cdntaxreceipts.mo +``` ## Storing translation files in another directory @@ -70,3 +77,19 @@ To enable it: ```sh locale -a +``` + +Debian/Ubuntu systems can enable locales by typing: + +```sh +dpkg-reconfigure locales +``` + +!!! note + The "UTF-8" variant of the locale must be enabled. For example: "fr_FR.UTF-8". + +Apache or PHP-FPM must be restarted after adding a new locale. Finally, uncomment the following in civicrm.settings.php: + +```php +define('CIVICRM_GETTEXT_NATIVE', 1); +```