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

Translate strings in javascript

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.4
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Goal: the function ts() will do the same thing when called from JS as it does when called from PHP.

      Current status - ts() is working in js, and also takes arguments. When js files are added to the page they are automatically parsed for strings enclosed in ts() and the translations are sent to the client.

      Final step: tell our i18n parser to parse js files as well as php and tpl files.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: