Skip to content
pubscout

stream_chat_localizations

10.7.0, released 11 days ago by getstream.io

Official localized strings for Stream Chat Flutter widgets

$ flutter pub add stream_chat_localizations
Source repository

What it does

Provides localized strings and localizations delegates for Stream Chat Flutter widgets across multiple supported languages. Handles system locale detection or programmatic setting of language preferences.

AI-written summary of version 10.6.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a chat application using Stream Chat Flutter and need multi-language support
  • You want built-in translations for Stream Chat UI components in languages like English, Spanish, French, German, and others

Skip it when

  • You are not using Stream Chat Flutter in your application
  • You only need standard Flutter material localizations and do not use Stream widgets

Strengths

  • Official localization package maintained by the Stream team
  • Supports a wide array of built-in languages with native implementations
  • Easily extensible to add new languages or override existing ones

Weaknesses

  • Only provides localizations for Stream Chat widgets, not general app-wide localization
  • Some niche or secondary commands/languages may fall back to English if untranslated

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Add supportedLocales and GlobalStreamChatLocalizations.delegates to your MaterialApp, and add supported localizations to iOS Info.plist if targeting iOS.

MaterialApp(
  supportedLocales: const [
    Locale('en'),
    Locale('es'),
  ],
  localizationsDelegates: GlobalStreamChatLocalizations.delegates,
  home: StreamChannel(
    channel: channel,
    child: const ChannelPage(),
  ),
)

Works with

Packages commonly used together with stream_chat_localizations: ones it builds on, ones built on it, and its own family.