From 1c2c0fbd663b504091026a93a9ca215a6dadf72d Mon Sep 17 00:00:00 2001 From: MikeyMJCO <mikey@mjco.uk> Date: Tue, 10 Jan 2023 09:35:56 +0000 Subject: [PATCH] Update i18n_l10n.md --- docs/general/i18n_l10n.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/general/i18n_l10n.md b/docs/general/i18n_l10n.md index 4cdeffb..0f47d24 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); +``` -- GitLab