The slug which you have registered your i18n assets
Retrieve the translation of text. For arguments sprintf is used, see http://www.diveintojavascript.com/projects/javascript-sprintf for specification and usage.
Rest
...args: any[]This function allows you to interpolate react components to your translations. You have to pass an already translated string as argument! For this you can use the other i18n functions like _n() or __().
A translation can look like this: "Hello {{a}}click me{{/a}}." and you have to pass a component with key "a".
Optional
components: { Translates and retrieves the singular or plural form based on the supplied number. For arguments sprintf is used, see http://www.diveintojavascript.com/projects/javascript-sprintf for specification and usage.
Rest
...args: any[]Translates and retrieves the singular or plural form based on the supplied number, with gettext context. For arguments sprintf is used, see http://www.diveintojavascript.com/projects/javascript-sprintf for specification and usage.
Rest
...args: any[]Retrieve translated string with gettext context. For arguments sprintf is used, see http://www.diveintojavascript.com/projects/javascript-sprintf for specification and usage.
Rest
...args: any[]
Create multiple functions for a specific plugin so they can be localized.