API

 

FormatData

Represents the localization information needed for parameter interpolation.

interface FormatData {
  key: string;
  locale: string;
  params: string;
  value: any;
}

key

The key of the translation item.

locale

The code of the active language.

params

The localization patameters for the current value.

value

The value to insert formatted.