flutter_ckb_localization 0.0.6 copy "flutter_ckb_localization: ^0.0.6" to clipboard
flutter_ckb_localization: ^0.0.6 copied to clipboard

Flutter Central Kurdish Branch aka Sorani Localization Support

Flutter CKB Localization 🌍 #

This package provides unofficial localization support for Central Kurdish Branch aka Sorani (Kurdish: سۆرانی ,Soranî‎). This package is based on the recommendation from this issue Although it was missing the RTL part, therefore the package overrides MaterialLocalizations and WidgetsLocalizations.


Getting Started #

import 'package:flutter_ckb_localization/flutter_ckb_localization.dart';

Add these two delegates to localizationsDelegates array

CkbMaterialLocalizations.delegate For text and dates localization CkbWidgetLocalizations.delegate For text and UI directionality

return MaterialApp(
	localizationsDelegates: [
		..
		CkbMaterialLocalizations.delegate,
		CkbWidgetLocalizations.delegate,
		...
	],
	supportedLocales: [ Locale('ckb') ]
	ocale: Locale('ckb')
 )

Translations are available now! #

Thanks to @dawand

15
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Flutter Central Kurdish Branch aka Sorani Localization Support

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on flutter_ckb_localization