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

API getfields should return if a field is localizable = 1

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      It would be nice if "getfields" would return whether a field is localizable (multi-lingual) or not.

      If a field is multi-lingual, the xml schema usually has: <localizable>true</localizable>.

      For example, the xml/schema/Contribute/ContributionPage.xml for "Contribution Page Title".

      Reminder: localizable fields are fields that can have a different value depending on the language. So a contribution page title might be "Give now" in English, but "Donnez maintenant" in French.

      Main use-case for this feature: it would simplify: https://github.com/coopsymbiotic/coop.symbiotic.translationhelper/ (makes it easier to translate all CiviCRM configurations)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: