API

 

SectionGroup

Represents the definition of a translation file.

interface SectionGroup {
  group: string;
  path?: string;
  format?: string;
  type?: LoaderType;
  items: Array< string | Section >
}

group

The name of the translation file group, it typically is the route path.

path

The path of the translation files when the default translationPath is not applicable.

format

The format of the translation files when it is different from the default value.

type

The type of the loader to download the translation file when it is different from the default value.

items

Defines the collection of translation files of the group. When a simple string is used, it is the name of a translation file without the file extension.