ckb_localizations
0.5.0, released 6 weeks ago by matheer.com
Adds Kurdish (Sorani) language support to Flutter apps via localization delegates.
WASM-readyUses material_ui
What it does
Provides Sorani (ckb) strings and RTL layout support for Material and Cupertino widgets. Works with Flutter’s gen‑l10n workflow and can be dropped into an existing app.
AI-written summary of version 0.5.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Kurdish (Sorani) translations in a Flutter app
- You already use Flutter’s gen‑l10n and want to add a new locale
- You want automatic RTL handling for Arabic‑script languages
Skip it when
- You are not targeting Kurdish users
- You prefer to write your own localization delegates
- You need a full i18n framework with plural/selection logic beyond what gen‑l10n offers
Strengths
- Drop‑in delegates that integrate with gen‑l10n
- Automatic RTL support
- No build_runner or codegen required
- MIT license
Weaknesses
- Only supports Kurdish (Sorani) locale
- Requires Flutter 3.47+ and Dart 3.13+
- No support for other languages
- Limited to localization strings, not full i18n features
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add dependency, include delegates in MaterialApp, add app_ckb.arb file, rebuild
import 'package:ckb_localizations/ckb_localizations.dart';
MaterialApp(
localizationsDelegates: const [
...AppLocalizations.localizationsDelegates,
...CkbLocalizations.localizationsDelegates,
],
supportedLocales: AppLocalizations.supportedLocales,
home: const HomePage(),
);Alternatives
Packages that do the same job and could replace ckb_localizations.
Works with
Packages commonly used together with ckb_localizations: ones it builds on, ones built on it, and its own family.
- intlckb_localizations depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- material_uickb_localizations depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- cupertino_uickb_localizations depends on itOfficial Flutter Cupertino design library implementing Apple HIG iOS and macOS user interfaces.