turkmen_localization_support 0.0.8 copy "turkmen_localization_support: ^0.0.8" to clipboard
turkmen_localization_support: ^0.0.8 copied to clipboard

Provides an unofficial localization for the Turkmen language for the Turkmenistan region. Here it is possible to use the Turkmen language without adding additional classes.

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 #

  1. Import library;
  2. 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(),
    );

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 #

  1. Fork it (https://github.com/AtamyratBabayev/turkmen_localization_support/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
8
likes
150
pub points
70%
popularity

Publisher

unverified uploader

Provides an unofficial localization for the Turkmen language for the Turkmenistan region. Here it is possible to use the Turkmen language without adding additional classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on turkmen_localization_support