kurdish_flutter_localization 1.0.4 copy "kurdish_flutter_localization: ^1.0.4" to clipboard
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)

Contributing #

Contributions are welcome!

License #

This project is licensed under the MIT License - see the LICENSE file for details.

0
likes
120
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

Kurdish Flutter Localization

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, flutter_localizations, flutter_web_plugins, intl, plugin_platform_interface

More

Packages that depend on kurdish_flutter_localization