jimtl_localazy 0.0.3 copy "jimtl_localazy: ^0.0.3" to clipboard
jimtl_localazy: ^0.0.3 copied to clipboard

Localazy support for jimtl remote translations

example/main.dart

import 'package:jimtl/jimtl.dart';
import 'package:jimtl_localazy/jimtl_localazy.dart';

main() async {
  final manager = LocalazyCdnManager(
    cdnId: 'CDI_ID_HERE',
    cacheFolder: '.',
    getFileName: (String locale, String flavor) {
      return 'error.arb';
    },
  );

  print(await manager.download('en', 'flavor1'));

  print(await manager.download('es_MX', IntlDelegate.defaultFlavorName));
}
1
likes
100
pub points
15%
popularity

Publisher

unverified uploader

Localazy support for jimtl remote translations

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, http, jimtl, path

More

Packages that depend on jimtl_localazy