aminsamad / flutter_kurdish_localization

GNU General Public License v3.0
28 stars 15 forks source link




Demo App

Flutter Kurdish Localization 🌍

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


Getting Started

import 'package:flutter_kurdish_localization/flutter_kurdish_localization.dart';

Add these two delegates to localizationsDelegates array

KurdishMaterialLocalizations.delegate For text and dates localization KurdishWidgetLocalizations.delegate For text and UI directionality

return MaterialApp(
    localizationsDelegates: [
        ..
        KurdishMaterialLocalizations.delegate,
        KurdishWidgetLocalizations.delegate,
        ...
    ],
    supportedLocales: [ Locale('ku') ]
    ocale: Locale('ku')
 )

Translations are available now!

Links