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

Support native gettext, fallback on php-gettext

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:

      Description

      It would be nice to support gettext natively for the systems that can.
      On non-usenglish installations, translation will add a 20-30% overhead, if APC is not correctly configured.

      We need to:

      • use native gettext in CRM/Core/I18n.php, if supported (fallback otherwise)
      • show a warning in the UI, if people are using a localized version of CiviCRM without native gettext
      • document how to configure native gettext (the operating system must support it) - in the wiki?
      • change the hierarchy of l10n files to l10n/fr_FR/LC_MESSAGES/civicrm.mo

      See: http://forum.civicrm.org/index.php/topic,22740.msg101591.html#msg101591

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: