Details
-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.4.0
-
Fix Version/s: Unscheduled
-
Component/s: Internationalisation
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:Developer Doc
-
Funding Source:Needs Funding
Description
PHP supports:
$theString = ts('Found %count contact', array('count' => $count, 'plural' => 'Found %count contacts'));
Smarty supports:
{ts count=$count plural='Found %count contacts'}Found %count contact
{/ts}I'd expect JS to support the following, but it doesn't:
var msg = ts("Found %count contact",
);