Docs (4.0.0)
class LazyString method

local

Localizes a single value using the current I18n provider.

static

static local(value: any, ...type: string[]): string

Summary

This method calls I18nProvider.format on the current application I18n provider (see app.i18n), with a single value and format type.

Typically, you don’t need to call this method yourself. it’s used automatically by strf(), LazyString.format(), and Binding.local.

Parameters

Related

  • class LazyStringAn object that encapsulates a string, evaluated only when needed.