Skip to content

su0f/flutter_ckb_localization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This package provides unofficial localization support for Central Kurdish Branch aka Sorani Kurdish: سۆرانی ,Soranî‎)

Resources

License

Stars

17 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages