Class

I18nLoader

lib/i18n/Loader.I18nLoader#I18nLoader(http, resourcesopt, versionedSuffixopt)

Constructor

# new I18nLoader(http, resourcesopt, versionedSuffixopt)

Parameters:
Name Type Attributes Default Description
http HttpClient

The HTTP client used to fetch translation resources.

resources Array.<I18nResourceConfig> <optional>
[]

The translation resources to be loaded.

versionedSuffix boolean <optional>
false

Whether to append a versioned suffix to resource URLs.

View Source lib/i18n/Loader.ts, line 270