Details
-
Type: Sub-task
-
Status: Won't Do
-
Priority: Trivial
-
Resolution: Won't Do
-
Affects Version/s: 4.7
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:Developer Doc
Description
Localize the UI elements of the settings metadata (`civicrm/settings/*.php`), such as title, description, help_text.
When issuing an API call like "CRM.api3('Setting','getfield')", the results should be translated into the user's language. This involves two aspects:
- Build time: The string-extractor (tools/bin/create-pot-files) should detect strings in *.settings.php files.
- Runtime: The code which reads *.settings.php should translate those strings.