kurdish_flutter_localization 1.0.4
kurdish_flutter_localization: ^1.0.4 copied to clipboard
Kurdish Flutter Localization
Flutter Kurdish Localization 🌍 #
This package provides unofficial localization support for Central Kurdish Branch Sorani (Kurdish: سۆرانی ,Soranî).
Getting Started #
Installation #
Add the following dependency to your pubspec.yaml
file:
dependencies:
kurdish_flutter_localization: ^1.0.2
Then, run flutter pub get
to install the package.
Usage #
Import the package in your Dart code:
import 'package:kurdish_flutter_localization/kurdish_flutter_localization.dart';
Add these delegates to the localizationsDelegates
array:
- KurdishMaterialLocalizations.delegate for text and dates localization
- KurdishWidgetLocalizations.delegate for text and UI directionality
- KurdishCupertinoLocalizations.delegate for Cupertino widgets localization
return MaterialApp(
localizationsDelegates: [
// ...existing code...
KurdishMaterialLocalizations.delegate,
KurdishWidgetLocalizations.delegate,
KurdishCupertinoLocalizations.delegate,
// ...existing code...
],
supportedLocales: [Locale('ckb')],
locale: Locale('ckb'),
);
Supported Locales #
Currently, this package supports the following locale:
ckb
- Central Kurdish (Sorani)
Links #
Contributing #
Contributions are welcome!
License #
This project is licensed under the MIT License - see the LICENSE file for details.