ilteoood / flutter_i18n

I18n made easy, for Flutter!
MIT License
217 stars 57 forks source link

file loader support package #144

Closed tcking closed 3 years ago

tcking commented 3 years ago

file loader support package

FlutterI18nDelegate(
        missingTranslationHandler: (key, locale) {
          print('[flutter I18NHelper] missingTranslate:$key ,local: $locale');
        },
        translationLoader: FileTranslationLoader(
          useCountryCode: true,
          fallbackFile: 'en_US',
          packages: 'pax_i18n',
          decodeStrategies: [JsonDecodeStrategy()],
        ))
ilteoood commented 3 years ago

Ping