Unfortunately, I didn't find any support for turkmen language, so I decided to add my own support, most of information you could find by going to: https://docs.flutter.dev/development/accessibility-and-localization/internationalization
Support for this repository is discontinued, see https://github.com/Mickey-A-Mouse/turkmen_localization_support
return const MaterialApp(
title: 'Localizations Sample App',
localizationsDelegates: [
TmMaterialLocalization.delegate, //add this one to add localization
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: [
const Locale('tk', 'TM'), //Turkmenistan - turkmen language
const Locale('ru', 'RU'),
const Locale('en', 'GB')
],
home: MyHomePage(),
);
Actually 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, magic :D.
Flutter 2.0 Means that works with nullsafety.
MIT