Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14114

Online recurring contribution page does not translate recurring unit

    Details

    • Type: Bug
    • Status: To Backport
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.6
    • Component/s: CiviContribute
    • Labels:
    • Documentation Required?:
      None

      Description

      When running a localized or multi-lingual CiviCRM, the frequency of recurring contributions is not correctly translated.

      Ex: if I enable only "monthly" donation, civi shows: "I want to contribute this amount every month."

      However, in French, it shows: "Je veux faire don de ce montant chaque month" (hardcoded "month")

      I traced the issue to :
      CRM/Contribute/Form/Contribution/Main.php buildRecur()

      There are some weird things happening in there, including:

      if (CRM_Utils_Array::value('is_recur_interval', $form->_values) || $className == 'CRM_Contribute_Form_Contribution')

      { $unit .= "(s)"; }

      Seems linked to work done on CRM-10860, so goes back to CiviCRM 4.3.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                monish.deb Monish Deb
                Reporter:
                mlutfy Mathieu Lutfy
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: