preload
Preloads the required languages and their translations for the current Tolgee instance.
This method ensures that both the list of available project languages and their corresponding translations are loaded into memory. It performs these operations atomically by utilizing mutex locks to prevent concurrent modifications.
Must be called before accessing translation functionalities such as t to ensure that translations are available and up-to-date.
This method is coroutine-safe and utilizes structured concurrency to manage asynchronous operations.
Parameters
lifecycleOwner
any LifecycleOwner to launch the coroutine from, e.g. Activity or Fragment