Module "wordpress-packages/utils/lib/factory/i18n"
Functions
createLocalizationFactory
- createLocalizationFactory(slug: string): { __: __; _i: _i; _n: _n; _nx: _nx; _x: _x }
-
Parameters
Returns { __: __; _i: _i; _n: _n; _nx: _nx; _x: _x }
sprintf
- sprintf(message: string, ...args: any[]): string
-
Parameters
-
message: string
-
Rest ...args: any[]
Returns string
Create multiple functions for a specific plugin so they can be localized.