Each of the attributes contains the translation in that language of the Label.

Example:

name.it: 'ciao';
name.en: 'hello';

Indexable

  • [key: string]: string | any

    It supports only key -> values of type string, representing translations in different languages.

Constructors

Methods

Constructors

Methods

  • Translate the label in the desired language; in case there's no translation, get the default one.

    Parameters

    Returns any