localino 0.9.1 copy "localino: ^0.9.1" to clipboard
localino: ^0.9.1 copied to clipboard

Json based localization.

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';
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(
    config: LocalinoConfig(locales: {
        'en_US': 'assets/localization/en_US.json',
        'es_ES': 'assets/localization/es_ES.json',
    }),
));

Usage #

LocalinoProvider.instance.localize('localization_key');

Additional information #

Localino is build as module for [Control].

Control.initControl(
  modules: [
    LocalinoModule(...)  
  ],
);
2
likes
0
points
217
downloads

Publisher

verified publisherbasecontrol.dev

Weekly Downloads

Json based localization.

License

unknown (license)

Dependencies

control_config, control_core, flutter

More

Packages that depend on localino