Optionalinit: LocalizationInit<T>The language that will be used to localize.
The packs that will be used to localize.
The storage that will be used to store the language.
The key that will be used to store the language.
The default variables that will be used to localize.
Retrieves the localized string from the pack. Optionally you can pass variables that will be used to replace the variables inside the localized string.
Optionalvariables: TRetrieves the localized string from the pack. Optionally you can pass variables that will be used to replace the variables inside the localized string.
Optionalvariables: TChecks if the pack has the path.
Checks if the pack has the path.
Retrieves the language from the storage and sets it.
Adds the packs to the instance, if a pack for the language already exists, the data will be merged.
Adds the packs to the instance, if a pack for the language already exists, the data will be merged.
Sets the language.
Stores the language in the storage.
The Localization class is used to localize anything that can be localized.
Aracna Reference