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

The i18n mechanism in trunk is broken

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None

      Description

      The i18n mechanism on trunk is broken; the strings do not get translated when the locale is set to, say, pl_PL.

      So far, I tracked it down to line 1183 in CRM/Core/Config.php (commenting it out brings the localisation back), and further down to line 255 of CRM/Core/PseudoConstant.php - that is, the CRM_Core_DAO_Currency::find() call resets the locale somehow, and if a dummy function find()

      { return; }

      is added to CRM/Core/DAO/Currency.php the localisation is brought back.

      This is currently a blocker for CRM-1570 works on trunk. :|

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shot Piotr Szotkowski
                Reporter:
                shot Piotr Szotkowski
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: