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

%link moniker for localisable links in ts calls

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.0
    • Fix Version/s: 4.3.0
    • Component/s: Internationalisation
    • Labels:
      None

      Description

      To handle non-English documentation pages we should implement %link moniker for ts() calls:

      Instead of having

      {ts 1=http:...}

      Visit %1

      {/ts} we can have {ts link=http:...}Visit %link{/ts}

      (in the same manner we have %count now). The extractor should extract the string in the same way it does now, but should also create civicrm-links.pot file which holds the http:... links.

      If Confluence can be taught about the relation between different language versions of a given page, then the civicrm-links.po files should be auto-generated from Confluence data.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              shot Piotr Szotkowski
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: