localizer_ai 0.1.0 copy "localizer_ai: ^0.1.0" to clipboard
localizer_ai: ^0.1.0 copied to clipboard

A Flutter package for AI-powered localization and automatic translation.

Localizer AI #

A Flutter package for AI-powered localization and automatic translation. Translate your UI texts on the fly without maintaining .arb or JSON files manually.

Features #

  • Automatic translation using OpenAI (GPT-3.5-turbo)
  • Caching of translations in SharedPreferences
  • Runtime language switching
  • Context-aware translation
  • Simple API:
await LocalizerAI().init(
  defaultLocale: 'en',
  supportedLocales: ['en', 'ar', 'fr'],
  engine: OpenAITranslator(apiKey: 'YOUR_API_KEY'),
);

String translated = await LocalizerAI().translate('Welcome');
0
likes
130
points
88
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for AI-powered localization and automatic translation.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_localizations, http, provider, shared_preferences

More

Packages that depend on localizer_ai