localino

Last updated:

0 purchases

localino Image
localino Images
Add to Cart

Description:

localino

Localino - simple json based localization solution.
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';
copied to clipboard
Localino has multiple ways how to init. One of the ways is to via standalone module and simple config options.
LocalinoModule.standalone(LocalinoOptions(
config: LocalinoConfig(
locales: LocalinoAsset.map(locales: [
'en',
'cs',
]),
),
));
copied to clipboard
Initialization with [localino_builder] and [localino_live] where config is loaded from assets folder.
LocalinoModule.standalone(LocalinoLive.options(
remoteSync: true,
));
copied to clipboard
Sub-Localization Object to store other data (like international state names, tel. phones, etc.) based on parent (main) Localization instance.
Localino subLocalization = LocalinoProvider.instance.instanceOf(assets);
copied to clipboard

Mixin provider:
class CustomObject with LocalinoProvider {

String name = localize('name');
}
copied to clipboard
Instance:
String name = LocalinoProvider.instance.localize('name');
copied to clipboard

By default Localino is build as module for [Control] and uses [control_config] to store preferences (chosen locale).
Control.initControl(
modules: [
ConfigModule(),
LocalinoModule(options)
],
);
copied to clipboard

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.