i18n_remote_config 0.0.2+1
i18n_remote_config: ^0.0.2+1

Flutter Android iOS

Integration i18n with Remote Config. The package help you implements remote config. The objective is create redundance your application, if remote config failure the package return your local json.

i18n_remote_config #

Integration i18n with Remote Config. The package help you implements remote config. The objective is create redundance your application, if remote config failure the package return your local json.

Getting Start #

STEP 00 #

You can use FlutterModular your application for package running!

STEP 01 #

Create folder lang your root application.

STEP 2 #

Add folder your pubspec.yaml.

STEP 3 #

Add your locale.json in folder lang.

ATTENTION! : language_COUNTRY.json

STEP 4 #

Add file configuration Firebase, Android(GoogleService.json) and iOS(GoogleService-Info.plist)

STEP 5 #

Configure your MaterialApp. Add LocalizationsDelegates and supportedLocales your application

STEP 6 #

Add I18nLocalizations your AppModule

If you use packages, add I18nLocalizations(["name_package"])

STEP 7 #

For you use extension i18n import your page or widget

import 'package:i18n_remote_config/i18n_remote_config.dart';

And simple use your application. "KEY".i18n()

BONUS #

If you can pass params your string, use:

  • JSON FILE
{
    "title" : "WITH PARAMS ONE: $0, TWO: $1"
}
  • EXAMPLE DART
"title".i18n(params: "FLUTTER","DART")
2
likes
70
pub points
69%
popularity

Integration i18n with Remote Config. The package help you implements remote config. The objective is create redundance your application, if remote config failure the package return your local json.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

gbrlsavio2@gmail.com

License

BSD (LICENSE)

Dependencies

firebase_remote_config, flutter, flutter_localizations, flutter_modular, mockito

More

Packages that depend on i18n_remote_config