Initialize library. Call this function in main function of your app;
token - you can find it in your WebLate project in Api Access section;
host - host of your WebLate. Host should be without https://. for example: weblate.company.link;
projectName - name of your WebLate project;
componentName - name of your WebLate project component to use;
For example you can use different components for different platforms
so specify in componentName what component app should use depending on platform;
defaultLanguage (Optional) - default app language. If translation not found for current language
then translation for defaultLanguage will be used instead;
If defaultLanguage is not set empty string will be returned;
disableCache - disable or enable caching. By default cache
disabled on debug and enabled on release;
cacheLive - cache live time. By default 2 hours;
fallbackJson - set local JSON translations file for case when you
do not have internet connection and cached translations;