simple_dart_multilang_controller

Last updated:

0 purchases

simple_dart_multilang_controller Image
simple_dart_multilang_controller Images
Add to Cart

Description:

simple dart multilang controller

Simple Dart Multilang Controller #
Multilingual support for Simple Web Ui framework.
Read in other languages: English, Русский.
Superficial description: #
The library provides a basic interface for building multilingual applications.
Exports the multilangController global variable - a MultilangController instance.
Stream
An example of using the library: #
multilangController.init(['English', 'Español', 'Português', 'Русский', 'Français', 'Deutsch', 'Italiano']);
multilangController.loadTranslations({
'Language': {
'English': 'Language',
'Español': 'Idioma',
'Português': 'Idioma',
'Русский': 'Язык',
'Français': 'Langue',
'Deutsch': 'Sprache',
'Italiano': 'Lingua'
},
'Some Word': {
'English': 'Some Word',
'Español': 'Alguna Palabra',
'Português': 'Alguma Palavra',
'Русский': 'Некоторое Слово',
'Français': 'Quelque Mot',
'Deutsch': 'Einige Wort',
'Italiano': 'Qualche Parola'
},
'Another Word': {
'English': 'Another Word',
'Español': 'Otra Palabra',
'Português': 'Outra Palavra',
'Русский': 'Другое Слово',
'Français': 'Autre Mot',
'Deutsch': 'Ein Anderes Wort',
'Italiano': 'Un Altra Parola'
},
});
multilangController.lang = 'Español';
print(multilangController.translate('Some Word')); // Alguna Palabra
multilangController.lang = 'Français';
print(multilangController.translate('Some Word')); // Quelque Mot
copied to clipboard

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.