Internationalisation
Bundled Plugins API
interpolate
Provides a function that will interpolate values into a string. It also augments the standard string to override the "mod" (%) operator so that any string can be easily interpolated, like so:
1
"Hello ${world}" % { world = "Earth" }
Copied!

API Overview

API Documentation

Last modified 1mo ago
Export as PDF
Copy link