language_extract 1.0.2 copy "language_extract: ^1.0.2" to clipboard
language_extract: ^1.0.2 copied to clipboard

CLI tool that scans Flutter projects for hardcoded strings and generates localization files for GetX, easy_localization, and intl. Supports --replace to rewrite source files with .tr calls automatically.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add language_extract

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

dependencies:
  language_extract: ^1.0.2

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:language_extract/language_extract.dart';
1
likes
0
points
46
downloads

Publisher

verified publisherusamaahsan.dev

Weekly Downloads

CLI tool that scans Flutter projects for hardcoded strings and generates localization files for GetX, easy_localization, and intl. Supports --replace to rewrite source files with .tr calls automatically.

Repository (GitHub)
View/report issues

Topics

#flutter #localization #i18n #getx #cli

License

unknown (license)

Dependencies

analyzer, args, path

More

Packages that depend on language_extract