Skip to main content

flutter_string_extractor 2.1.0 copy "flutter_string_extractor: ^2.1.0" to clipboard
flutter_string_extractor: ^2.1.0 copied to clipboard

Extract Flutter localization strings to JSON with safe catalog merging and optional AI discovery and translation using OpenAI, Claude, or Gemini.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate flutter_string_extractor

Use it

The package has the following executables:

$ flutter_string_extractor

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_string_extractor

With Flutter:

 $ flutter pub add flutter_string_extractor

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

dependencies:
  flutter_string_extractor: ^2.1.0

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:flutter_string_extractor/flutter_string_extractor.dart';
8
likes
140
points
596
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Extract Flutter localization strings to JSON with safe catalog merging and optional AI discovery and translation using OpenAI, Claude, or Gemini.

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #localization #flutter #i18n #string-extraction

License

MIT (license)

Dependencies

analyzer, args, glob, path

More

Packages that depend on flutter_string_extractor