flutter_localizations_ht

pub package License: MIT

Haitian Creole (ht) localizations for Flutter — Material and Cupertino widgets.

Flutter's built-in flutter_localizations package does not include Haitian Creole. This package fills that gap, providing authentic Creole translations for all of Flutter's internal UI strings (date pickers, dialogs, tooltips, accessibility labels, and more).

Translations were reviewed by a native Haitian Creole speaker.


Installation

dependencies:
  flutter_localizations:
    sdk: flutter
  flutter_localizations_ht: ^0.1.2

Usage

import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_localizations_ht/flutter_localizations_ht.dart';

MaterialApp(
  supportedLocales: const [
    Locale('en'),
    Locale('es'),
    Locale('fr'),
    Locale('ht'), 
  ],
  localizationsDelegates: const [
    HtMaterialLocalizations.delegate,   
    HtCupertinoLocalizations.delegate,  
    GlobalMaterialLocalizations.delegate,
    GlobalCupertinoLocalizations.delegate,
    GlobalWidgetsLocalizations.delegate,
  ],
);

Note: This package registers native Haitian Creole date and number symbols directly into intl via initializeHtDateFormatting(), called automatically by the delegates. No fallback to another locale is needed.


What's included

Category Strings
Navigation & buttons 15
Text editing (cut, copy, paste…) 10
Date picker 15
Time picker 10
Dialogs & bottom sheets 11
Pagination & tables 6
Licenses & about 7
Accessibility & semantics 14
Cupertino (iOS) 16
Total ~104

Integration with app-level localizations

If your app already uses .arb files for Haitian Creole, this package handles only Flutter's built-in widget strings. Your app strings stay in your own AppLocalizations as usual.


Contributing

Corrections and improvements to the Creole translations are welcome. Please open an issue or PR on GitHub.


License

MIT — see LICENSE.

Libraries

flutter_localizations_ht
Haitian Creole (ht) localizations for Flutter Material and Cupertino widgets.