localino_builder 1.0.1 localino_builder: ^1.0.1 copied to clipboard
Builder to download and store json translations via Localino REST API.
Localino Live - implementation of LocalinoRemoteApi via Localino REST API (https://api.localino.app).
Features #
Loads localization asset based on current or preferred locale.
Formatted as Json/Map. Handles single strings, maps and lists, plurals and simple formatting.\
Getting started #
Add library to your pubspec.yaml under dev_dependencies.
dev_dependencies:
build_runner: 2.4.0
localino_builder: 0.1.0
Add build.yaml
to your project files to configure builder and localino project.
targets:
$default:
builders:
localino_builder:
options:
space: 'your space id'
project: 'your project id'
access: 'your access token'
Usage #
Just run build_runner
to download your translations into assets folder.
dart run build_runner build
Additional information #
Localino can be used as standalone package to manage assets localization. But true power comes with other packages:
Localino Admin: localino.app Localino Flutter: localino Localino Live: localino_live Localino Builder: localino_builder