Idiom.Backend.Lokalise (idiom v0.6.1)

Backend for Lokalise.

Usage

In order to use the Lokalise backend, set it in your Idiom configuration:

config :idiom,
  backend: Idiom.Backend.Lokalise

Configuration

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

Creating a bundle

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 project_id and 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".

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.