I'm trying to duplicate a donation form in two different languages, Canadian French and English. I have the correct languages installed with i18n Internationalisation and translation is working based on the language inherited from Drupal 7. There is only one currency required, CAD.

Money and date formats differ between Canadian English and French, however. The cheat sheet here outlines the settings I want, but I only need it for a single page.


As far as I can tell, the localization settings at civicrm/admin/setting/localization?reset=1 apply to the entire site and won't switch with the language. I have made numerous jQuery functions in my Main.tpl, OnBehalfOf.tpl and BillingBlock.tpl override templates to perfect the colloquial wording in various sections, but the money format also needs to change dynamically. This is an example:

$1,000.00 === 1 000,00 $

Is there must be a better way to run a bilingual site? Can you override the localization settings for a single page?

  • I believe @samuelsov was working on this very issue for CiviCRM 4.7 during the CiviCRM code sprint last May. – Jon G - Megaphone Tech Sep 24 '15 at 22:51
  • Did this get resolved? – petednz - fuzion May 1 '16 at 6:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.