Popularity
0.5
-
Activity
0.0
-
0
3
0

Description

Kotlin library built to provide an easy way of pulling actual Android string resources from Lokalise.

Add maven repository to your Gradle file. Add library definition to dependencies. Library provides Gradle task to load string resources during builds. Use task register like in sample. Or use LokaliseLoader directly using create method.

Programming language: Kotlin
Tags: Kotlin     Android     Android-library     Kotlin Library     Lokalise    

#<Sawyer::Resource:0x00007f8b452e0978> alternatives and similar packages

Based on the "Kotlin" category.
Alternatively, view lokalise-loader alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of #<Sawyer::Resource:0x00007f8b452e0978> or a related project?

Add another 'Kotlin' Package

README

Kotlin library built to provide an easy way of pulling actual Android string resources from Lokalise.

Add maven repository to your Gradle file:

// kotlin gradle dsl
repositories {
    maven { url = uri("https://jitpack.io/") }
}

Add library definition to dependencies:

// kotlin gradle dsl
implementaion("com.github.Orangesoft-Development:lokalise-loader:<version>")

Library provides Gradle task to load string resources during builds. To use task register it like in sample below:

// kotlin gradle dsl
task<LokaliseUpdateTask>("lokalise-update") {
    targetDir = "<resources-directory-path>"
    apiToken = "<lokalise-user-api-key>"
    projectId = "<lokalise-projectId>"
    platforms = listOf(data.Platforms.Android)
}

Or use LokaliseLoader directly using create method:

val lokaliseLoader = LokaliseLoader.create {
    apiToken = "<lokalise-user-api-key>"
    projectId = "<lokalise-projectId>"
    outputDirPath = "<resources-directory-path>"
    platforms = listOf(data.Platforms.Android)
}
lokaliseLoader.load()