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

Compile-time LLM localization for Dart and Flutter. Define strings once with typed params, generate locale JSON at build time, translate dynamic values at runtime via OpenRouter.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add stringlocale

With Flutter:

 $ flutter pub add stringlocale

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

dependencies:
  stringlocale: ^0.2.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:stringlocale/stringlocale.dart';
0
likes
0
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

Compile-time LLM localization for Dart and Flutter. Define strings once with typed params, generate locale JSON at build time, translate dynamic values at runtime via OpenRouter.

Repository (GitHub)
View/report issues

Topics

#localization #i18n #flutter #dart #llm

License

unknown (license)

Dependencies

flutter, http, intl

More

Packages that depend on stringlocale