0 purchases
turkmen localization support
Package that provides unofficial support for Turkmen (Turkmenistan) language for Flutter.
Features #
Solves the problem with the lack of support for Turkmen (Turkmenistan) localization in an application written in Flutter.
Getting started #
Import library;
Add the required delegates.
Usage #
Simple example of usage:
return MaterialApp(
// This should be mutable
locale: Locale('tk'),
supportedLocales: [Locale('tk')],
// Delegates should be placed here
localizationsDelegates: [
// Some other delegates here
// Add this line
...TkDelegates.delegates,
],
theme: ThemeData.light(),
home: const Scaffold(),
);
copied to clipboard
You still could use one of delegates directly, if there is no need in one of them (example: if built only for Android, consider to use TkMaterialLocalization directly).
Note #
There are no any 'tm' language code here: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry. Support for Turkmen language is possible only by using 'tk' tag.
Contributing #
Fork it (https://github.com/AtamyratBabayev/turkmen_localization_support/fork)
Create your feature branch (git checkout -b feature/fooBar)
Commit your changes (git commit -am 'Add some fooBar')
Push to the branch (git push origin feature/fooBar)
Create a new Pull Request
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.