TolgeeApple
A data class representing the implementation of the Tolgee localization framework for Apple platforms. This class extends the base Tolgee class and provides methods for accessing translated strings, either as flows or as immediate values.
Types
Properties
The list of available locales from the manifest or configuration.
The list of available locale tags (e.g., ["en", "fr", "de"]) from the manifest or configuration.
A flow that emits whenever translations change.
Functions
Registers a listener to be notified when translations change.
Preloads all available languages and their translations into memory.
Unregisters a previously registered change listener.
Sets the current locale for the Tolgee instance, updating it in the reactive locale flow.
Adjusts the current locale used for translations.
Immediate Tolgee translation for a key with parameters.
Retrieves the translation for a given key immediately. If no translation is found, falls back to the provided default value or bundle localization.
Retrieves an immediate translation string for the given key with optional parameters and a fallback.
Updating Tolgee translation for a key with parameters.
Provides a flow of localized strings based on the given key, default value, and optional table name.
Provides a flow of localized string representations for a given key, allowing localization updates based on dynamic arguments and optional table-specific localization contexts.