
Facilitates building and running applications with Gradle, incorporating a multi-module setup with shared build logic, version catalog for dependencies, and caches for efficiency.
Tolgee is a powerful localization platform that simplifies the translation process for your applications. This SDK provides integration for Kotlin-based projects, with a primary focus on Android.
Currently, Android is fully supported, but any Kotlin-based codebase can in theory use this library.
The SDK is split into multiple modules, each serving a specific purpose:
[!NOTE] For managing static translations (used as fallback), check out tolgee-cli. It provides tools for updating and syncing your static translation files.
In each demo project you can find an example of
.tolgeercconfiguration file.
Using Version Catalog is highly recommended to keep your versions aligned.
# gradle/libs.versions.toml
[libraries]
tolgee = { group = "io.tolgee.mobile-kotlin-sdk", name = "core", version.ref = "tolgee" }// build.gradle.kts
dependencies {
implementation(libs.tolgee)
}# gradle/libs.versions.toml
[libraries]
tolgee = { group = "io.tolgee.mobile-kotlin-sdk", name = "compose", version.ref = "tolgee" }// build.gradle.kts
dependencies {
implementation(libs.tolgee)
}For detailed usage instructions, please refer to the module-specific documentation:
Here's a quick example of initializing Tolgee in an Android application:
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
Tolgee.init {
contentDelivery {
url = "https://cdn.tolg.ee/your-cdn-url-prefix"
storage = TolgeeStorageProviderAndroid(this@MyApplication, BuildConfig.VERSION_CODE)
}
}
}
}For complete examples of how to use the Tolgee SDK, check out the demo projects:
Contributions are welcome! Please feel free to submit a Pull Request. Check out guidelines.md for some information about the project internals and information about the workflow.
This project is licensed under the Apache License 2.0—see the LICENSE file for details.
Let us know what you think! #FeedbackWanted ❤️
🧀
Tolgee is a powerful localization platform that simplifies the translation process for your applications. This SDK provides integration for Kotlin-based projects, with a primary focus on Android.
Currently, Android is fully supported, but any Kotlin-based codebase can in theory use this library.
The SDK is split into multiple modules, each serving a specific purpose:
[!NOTE] For managing static translations (used as fallback), check out tolgee-cli. It provides tools for updating and syncing your static translation files.
In each demo project you can find an example of
.tolgeercconfiguration file.
Using Version Catalog is highly recommended to keep your versions aligned.
# gradle/libs.versions.toml
[libraries]
tolgee = { group = "io.tolgee.mobile-kotlin-sdk", name = "core", version.ref = "tolgee" }// build.gradle.kts
dependencies {
implementation(libs.tolgee)
}# gradle/libs.versions.toml
[libraries]
tolgee = { group = "io.tolgee.mobile-kotlin-sdk", name = "compose", version.ref = "tolgee" }// build.gradle.kts
dependencies {
implementation(libs.tolgee)
}For detailed usage instructions, please refer to the module-specific documentation:
Here's a quick example of initializing Tolgee in an Android application:
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
Tolgee.init {
contentDelivery {
url = "https://cdn.tolg.ee/your-cdn-url-prefix"
storage = TolgeeStorageProviderAndroid(this@MyApplication, BuildConfig.VERSION_CODE)
}
}
}
}For complete examples of how to use the Tolgee SDK, check out the demo projects:
Contributions are welcome! Please feel free to submit a Pull Request. Check out guidelines.md for some information about the project internals and information about the workflow.
This project is licensed under the Apache License 2.0—see the LICENSE file for details.
Let us know what you think! #FeedbackWanted ❤️
🧀