Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
ru.pocketbyte.locolaser:runtime-linuxx64
Advanced tools
LocoLaser - Localization tool to import localized strings from external source to your project. Utility support following resource types:
Please read Migration instruction to migrate to version 2.0.0
Android Example: https://github.com/PocketByte/locolaser-android-example
iOS Example: https://github.com/PocketByte/locolaser-ios-example
Kotlin MPP Example: https://github.com/PocketByte/locolaser-kotlin-mpp-example
You need to apply LocoLaser plugin in build.gradle.kts
and configure localize
extension.
Example of Android configuration that gets strings from Google Sheets:
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath("ru.pocketbyte.locolaser:plugin-all:2.3.1")
}
}
plugins {
apply("ru.pocketbyte.locolaser.all")
}
localize {
config {
platform {
android()
}
source {
googleSheet {
id = "1KDu0_iel5qoNTKHZI0e4l3Uy52WisdfswYRy_GlFOPtY"
keyColumn = "key"
commentColumn = "base"
quantityColumn = "quantity"
credentialFile = "../service_account.json"
}
}
locales = setOf("base", "fi")
}
}
When configuration is done it creates localization tasks in localization
group.
You can override config properties by calling corresponded tasks:
localize[ConfigName]ExportNew
: Exports new strings from platform resources to source.localize[ConfigName]Force
: Forces localization ignoring cache.Copyright © 2017 Denis Shurygin. All rights reserved.
Contacts: <mail@pocketbyte.ru>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
Runtime dependency for LocoLaser.
We found that ru.pocketbyte.locolaser:runtime-linuxx64 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.