i18n 4.2.1 copy "i18n: ^4.2.1" to clipboard
i18n: ^4.2.1 copied to clipboard

Simple i18n solution for dart and flutter. Uses code generation to generate translations as dart classes. Efficient and works with autocomplete!

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add i18n

With Flutter:

 $ flutter pub add i18n

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  i18n: ^4.2.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:i18n/i18n.dart';
80
likes
160
points
3.22k
downloads

Publisher

verified publishermuha.dev

Weekly Downloads

Simple i18n solution for dart and flutter. Uses code generation to generate translations as dart classes. Efficient and works with autocomplete!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

build, build_config, dart_style, glob, quick_log, yaml

More

Packages that depend on i18n