anas_localization 1.3.0
anas_localization: ^1.3.0 copied to clipboard
Flutter/Dart localization with multiple language support, runtime switching, custom dictionaries, code generation, and RTL for scalable internationalization.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate anas_localizationUse it
The package has the following executables:
$ anas
$ anas_cli
$ cli
$ localization_gen
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add anas_localizationThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
anas_localization: ^1.3.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:anas_localization/anas_localization.dart';