gen_lang 0.1.3 gen_lang: ^0.1.3 copied to clipboard
gen_lang is a dart library for internationalization. Extracts messages to generate dart files required by Intl
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add gen_lang
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
gen_lang: ^0.1.3
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:gen_lang/core_18n.dart';
import 'package:gen_lang/extra_json_file_tool.dart';
import 'package:gen_lang/extra_json_message_tool.dart';
import 'package:gen_lang/generate_i18n_dart.dart';
import 'package:gen_lang/generate_message_all.dart';
import 'package:gen_lang/print_tool.dart';