Idiom.Backend.Lokalise (idiom v0.6.5)
Backend for Lokalise.
The Lokalise backend is currently experimental.
Since Lokalise does not officially support third-party SDKs, this backend is piggy-backing off of Lokalise's Android SDK format and then runs a transformation on the received data to match Idiom's data model. At this point, there is no guarantee that all variations of that format are handled correctly.
If you find a bug, please open an issue with your Lokalise bundle data!
In order to use the Lokalise backend, set it in your Idiom configuration:
config :idiom, backend: Idiom.Backend.Lokalise
The Lokalise backend currently supports the following configuration options:
config :idiom, Idiom.Backend.Lokalise, project_id: "", # required api_token: "", # required namespace: "default", fetch_interval: 600_000, otp_app: nil # optional, for Lokalise's bundle freeze support
Lokalise does not officially support any third-party SDKs or web application libraries. The Idiom backend works by fetching a bundle in the format of
Lokalise's official Android SDK and then transforming the data. This means that when you create a localisation bundle in the "Download" tab of your Lokalise
dashboard, you need to select "Android SDK" under the "File format" setting. The
api_token values can be found under the
"More -> Settings" page where you can find your Project ID and can generate a "Lokalise OTA Token".