
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
fastlane-plugin-simple_loco
Advanced tools
This project is a fastlane plugin. To get started with fastlane-plugin-simple_loco
, add it to your project by running:
fastlane add_plugin simple_loco
A simple implementation for exporting translations from Loco.
This plugin is heavily inspired by https://github.com/JohnPaulConcierge/fastlane-plugin-loco, but some functionality has been removed and added. This plugin acts primarily as a wrapper implementation around the export single locale API call of Loco (see https://localise.biz/api/docs/export/exportlocale for full details).
There is advanced support for the following platforms:
For the platforms above, an extra adapter is available to create the correct folder and files needed to use the translations.
For other platforms, a default implementation is provided (translation files will be saved like <provided folder>/<provided file name>.<locale>.<extension>). If a custom file name is provided, then the name of the file for the default locale won't contain the locale. If no custom file name is provided, then the locale will be used instead.
This plugin contains a single action simple_loco
.
This action uses a configuration file to generate the correct API call.
The config file specifies the following properties:
For an explanation of the optional parameters, please see the official API reference: https://localise.biz/api/docs/export/exportlocale
Example of a JSON config file:
{
"locales" : [
"en",
"fr",
"nl",
"de"
],
"directory" : "src/main/res",
"platform" : "android",
"key" : "<Your key here>",
"fallback" : "en",
"order": "id",
"filter": ["android"]
}
Or in YAML:
locales:
- en
- fr
- nl
- de
directory: src/main/res
platform: custom
key: <your key here>
fallback: en
order: id
custom_extension: .xml
custom_file_name: strings
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.
FAQs
Unknown package
We found that fastlane-plugin-simple_loco demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.