stream_chat_localizations
10.7.0, released 11 days ago by getstream.io
Official localized strings for Stream Chat Flutter widgets
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.
- intlstream_chat_localizations depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- stream_chat_flutterstream_chat_localizations depends on itFull-featured Flutter UI SDK for Stream Chat, providing ready‑made chat widgets and theming.
- stream_chatSame familyLow‑level Dart client for Stream Chat API
- stream_chat_flutter_coreSame familyCore Flutter SDK for Stream Chat providing business logic and controllers without UI.
- stream_thumbnailSame familyCreate thumbnail images from local video files or URLs as bytes or files.
- stream_chat_persistenceSame familyProvides offline SQLite persistence for Stream Chat in Flutter.
- stream_video_flutterSame familyOfficial UI package and SDK for Stream Video, supporting calls and livestreams.
- stream_videoSame familyOfficial low-level client for Stream Video, supporting calls, audio rooms, and live streaming.