/flutter_localizations_tale

Flutter minimal localization example.

Primary LanguageDartMIT LicenseMIT

Flutter Localizations Tale

A minimal localizations example using flutter and material app widget, contains a demonstration of the internationalization power in flutter with ease to help everyone understanding Localizations in Flutter.

Usage

Make sure you have Flutter installed on your local machine. For more instructions on how to install flutter, look here.

git clone https://github.com/khalidfsh/flutter_localizations_tale.git
cd flutter_localizations_tale
flutter run

Screenshots

Overview

As every Dart project main.dart is the starting point of app.

Next we'll have an entry page tale_home_page.dart containing an app bar and a tab bar:

  1. widget_localizations_page.dart: show pref info about this delegate which provided by flutter to localized widget directionality.
  2. material_localizations_page.dart: shows all material localized value, usually used behind the scene by Material components, and can be accessed anywhere in widgets tree.
  3. cupertino_localizations_page.dart: as material but for ios components (cupertino), and also can be accessed anywhere in widgets tree.

Finally the core concept of the project is in tale_localizations.dart file which holds every localizations logic in the app.

Supported Languages

  • Arabic
  • Bulgarian
  • Bosnian
  • Catalan Valencian
  • Czech
  • Danish
  • German
  • Modern Greek
  • English
  • Spanish Castilian
  • Estonian
  • Persian
  • Finnish
  • Filipino Pilipino
  • French
  • Galician
  • Swiss German Alemannic Alsatian
  • Hebrew
  • Hindi
  • Croatian
  • Hungarian
  • Armenian
  • Indonesian
  • Italian
  • Japanese
  • Kazakh
  • Khmer Central Khmer
  • Korean
  • Lithuanian
  • Latvian
  • Mongolian
  • Marathi
  • Malay
  • Norwegian Bokmål
  • Dutch Flemish
  • Polish
  • Pushto Pashto
  • Portuguese
  • Romanian Moldavian Moldovan
  • Russian
  • Slovak
  • Slovenian
  • Serbian
  • Swedish
  • Swahili
  • Tamil
  • Thai
  • Tagalog
  • Turkish
  • Ukrainian
  • Urdu
  • Vietnamese
  • Chinese

Built with ❤️ using dart, flutter & flutter_localizations.

Show some ❤️, share and star the repo to support the project.

Created & Maintained By

Khalid F.Shuhail - Email.

License

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