localino_live 0.1.3+1 localino_live: ^0.1.3+1 copied to clipboard
Implementation of LocalinoRemoteApi via Localino REST API.
Localino Live - implementation of LocalinoRemoteApi via Localino REST API (https://api.localino.app/v1).
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 #
import 'package:localino/localino.dart';
Localino has multiple ways how to init. One of the ways is to via standalone module and simple config options.
LocalinoModule.standalone(LocalinoOptions(
setup: LocalinoSetup(
space: 'custom_space_id',
project: 'custom_project_id',
),
));
Usage #
LocalinoProvider.instance.localize('localization_key');
Additional information #
Localino is build as module for [Control].
Control.initControl(
modules: [
LocalinoModule(...)
],
);