Skip to main content

IL10n interface

📖 Description​

Describes the interface that holds translation and locale information.

📃 Type declaration​

interface IL10n {
  language?: "auto" | string;Optional
  locale?: "auto" | string;Optional
  translations?: TTranslation | TTranslation[];Optional
}
🖱ī¸ Hover with the mouse over a property name for a tooltip with the description of that property. Click it for more information.

🗃ī¸ Properties​


🏷ī¸ language​

Contains the language of the translation to use.

Type​

string


🏷ī¸ locale​

Contains the locale to use.

Type​

"auto" | string


🏷ī¸ translations​

Contains the translations.

Type​

TTranslation | TTranslation[]