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

Native gettext: "money" is not correctly formatted

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0, 4.2.1, 4.2.2
    • Fix Version/s: 4.2.3
    • Component/s: None
    • Labels:

      Description

      When using native gettext (CRM-9976), money is not correctly formatted because of how setlocale() is used in CRM_Utils_Money::format().

      For example, in French, where the locale would format money as "12,50", it ends up displaying "12 50".

      Patch incoming.

        Attachments

          Activity

            People

            • Assignee:
              mlutfy Mathieu Lutfy
              Reporter:
              mlutfy Mathieu Lutfy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: