stringlocale 0.4.0 copy "stringlocale: ^0.4.0" to clipboard
stringlocale: ^0.4.0 copied to clipboard

Declare strings with typed params, compile to offline locale bundles with an LLM, and resolve by locale at runtime. Axis-model i18n for Dart and Flutter.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate stringlocale

Use it

The package has the following executables:

$ stringlocale

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add stringlocale

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

dependencies:
  stringlocale: ^0.4.0

Alternatively, 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:stringlocale/stringlocale.dart';
0
likes
160
points
13
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Declare strings with typed params, compile to offline locale bundles with an LLM, and resolve by locale at runtime. Axis-model i18n for Dart and Flutter.

Repository (GitHub)
View/report issues

Topics

#i18n #localization #translation #flutter

License

MIT (license)

Dependencies

flutter, http, intl

More

Packages that depend on stringlocale