PackageTrack
Sign in Get early access

best_localization

A Flutter localization package with dynamic translations and Kurdish support.

3.0.1 dosty17/best_localization

What this package is like to depend on

Last release 1 months ago

19 Jul 2026

Release timing varies

gaps range from 8 days to 5 months

Most releases are documented

notes for 14 of 18 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

18 releases · first in 2024

14 releases in the last 12 months

see the full history below

Release timeline

18 releases · Dec 2024 to Jul 2026
2025 2026
Release Pre-release

Releases

latest 18
  1. 3.0.1 19 Jul 2026
    Release notes

    New Features

    • Added support for Debug and Production modes.

    🔄 Changed

    • Debug Mode: Missing translation keys are returned wrapped in square brackets ([missing_key]) to make them easy to identify during development.
    • Production Mode: Missing translation keys are returned as plain text (missing_key) without square brackets for a cleaner production experience.
    Open source →
  2. 3.0.0 27 Jun 2026
    Release notes

    ⚠️ Breaking Changes

    • Kurdish Locale Code Realignment:
      • Kurdish Sorani language code changed from ku to ckb.
      • Kurdish Kurmanji is now officially supported using language code ku. Note: If your app previously used ku for Sorani, you must rename your translation files (e.g., ku.json to ckb.json) and update your app's supported locales list to prevent broken layouts or missing translations.

    New Features

    • Official Kurdish Kurmanji (ku) Support: Added complete localization support including Material and Cupertino widgets.

    Open source →
  3. 2.0.4 05 Feb 2026
    Release notes

    Breaking Changes

    • Updated all loader type signatures to support complex translation values
      • Changed from Map<String, Map<String, String>> to Map<String, Map<String, Object>>
      • Now supports pluralization, gender-specific translations, and nested structures
      • Affects all loaders: JsonLoader, YamlLoader, XmlLoader, CsvLoader, HttpLoader
      • Translation values can now be strings, maps (for plurals/gender), or other objects

    Fix

    • Fixed type compatibility issues with pluralization and gender-specific translations
    • All loaders now properly preserve complex translation structures instead of converting to strings
    Open source →
  4. 2.0.3 01 Jan 2026
    Release notes

    Fix

    • Fix an issue with cupertino
    Open source →
  5. 2.0.2 31 Dec 2025
    Release notes

    Fix

    • Fix an issue with cupertino
    Open source →
  6. 2.0.1 31 Dec 2025
    Release notes

    Fix

    • Fix an issue with cupertino
    Open source →
    Release notes

    Fix

    • Fix an issue with cupertino

      cff1ecbc7b2a2389e189b58d4cce8bac3ed11cf2

    Open source →
  7. 2.0.0 22 Dec 2025
    Release notes

    New Features

    • Directly Translate throu Text method or String
    • Text('hello').tr() or Text('hello').translate()
    • New way of gender and plural

    Fix

    • Issue of gender and plural fixed
    Open source →
  8. 1.2.1 16 Nov 2025
    Release notes

    🎉 New Features

    Added

    • Translation Key Verification Tool 🔍
      • TranslationVerifier class for programmatic verification
      • Command-line tool: dart run best_localization:verify_translations
      • Verify all translations against a reference locale
      • Compare two specific locales
      • Find duplicate values (same translation for different keys)
      • Find similar keys (potential typos using Levenshtein distance)
      • Generate detailed reports in text or JSON format
      • Calculate coverage percentage per locale
      • CI/CD integration support with exit codes
      • Pre-commit hook examples
      • Commands:
        • verify <path> - Verify all translation files
        • compare <file1> <file2> - Compare two files
        • duplicates <file> - Find duplicate values
        • similar <file> - Find similar keys
      • Features:
        • Missing key detection
        • Extra key detection
        • Empty value detection
        • Duplicate value detection
        • Similar key detection (configurable threshold)
        • JSON output for automation
        • Reference locale selection

    Documentation

    • Added comprehensive VERIFICATION.md guide
    • Updated README.md with verification tool section
    • Added CI/CD integration examples
    • Added programmatic usage examples
    • Updated pubspec.yaml with executable entry
    Open source →
  9. 1.2.0 15 Nov 2025

    Nothing published for this version

  10. 1.1.0 15 Nov 2025

    Nothing published for this version

  11. 1.0.3 15 Nov 2025

    Nothing published for this version

  12. 1.0.2 15 Nov 2025
    Release notes
    • Enhance readme.md
    • Some changes
    Open source →
  13. 1.0.1 15 Nov 2025

    Nothing published for this version

  14. 1.0.0 15 Nov 2025
    Release notes

    🎉 Major Release - New Features

    Added

    • Multiple File Format Support 🎉

      • JSON Loader: Load translations from JSON files (single or multiple files)
      • CSV Loader: Load translations from CSV files (columns or rows format)
      • YAML Loader: Load translations from YAML files
      • XML Loader: Load translations from XML files
      • HTTP Loader: Load translations from remote API with caching support
    • Remote Translations 🎉

      • HttpLoader class for fetching translations from API
      • Automatic caching with shared_preferences
      • Configurable cache duration (default: 24 hours)
      • Custom HTTP headers support (for authentication)
      • Offline fallback using expired cache
      • Works seamlessly with Loaders.remote()
    • Fallback Locale Support 🎉

      • Added fallbackLocale parameter to BestLocalizationDelegate
      • Automatic fallback to default language when translation is missing
      • Works with all loader types (JSON, CSV, YAML, XML, HTTP, Map)
      • Better UX for incomplete translations
    • Loaders Class 🎉

      • Easy-to-use static methods for all loaders
      • Loaders.json() - Load from JSON files
      • Loaders.csv() - Load from CSV files
      • Loaders.yaml() - Load from YAML files
      • Loaders.xml() - Load from XML files
      • Loaders.remote() - Load from remote API
      • Loaders.jsonString() - Load from JSON string
      • Loaders.csvString() - Load from CSV string
    • Factory Methods

      • BestLocalizationDelegate.fromJson() - Create delegate from JSON loader
      • BestLocalizationDelegate.fromCsv() - Create delegate from CSV loader
      • BestLocalizationDelegate.fromYaml() - Create delegate from YAML loader
      • BestLocalizationDelegate.fromXml() - Create delegate from XML loader
      • BestLocalizationDelegate.fromHttp() - Create delegate from HTTP loader
      • BestLocalizationDelegate.fromMap() - Create delegate from map
      • BestLocalizationDelegate.fromLoader() - Create delegate from any loader
    • BuildContext Extensions

      • context.tr() - Translate with optional arguments
      • context.localization - Get BestLocalization instance
      • context.currentLocale - Get current locale
      • context.languageCode - Get language code
      • context.isKurdish - Check if Kurdish
      • context.isArabic - Check if Arabic
      • context.isEnglish - Check if English
      • context.isRTL - Check if RTL language
      • context.textDirection - Get text direction

    Changed

    • Updated package dependencies to use flexible version ranges
    • Enhanced Kurdish Cupertino localizations with missing properties
    • Improved code organization with separate loader files

    Fixed

    • Fixed missing implementations in KurdishCupertinoLocalizations
    • Resolved compatibility issues with different Flutter versions
    Open source →
  15. 0.0.4 05 Jun 2025
    Release notes

    upate

    • update intl to 0.20.2

    fix issues

    • cupertino localization error
    Open source →
  16. 0.0.3 21 Mar 2025
    Release notes

    added

    • enhancement
    Open source →
  17. 0.0.2 26 Dec 2024
    Release notes

    added

    • add flutter_localizations installation
    Open source →
  18. 0.0.1 25 Dec 2024
    Release notes

    Added

    • Initial release of best_localization package.
    • Support for dynamic translations using Dart maps.
    • Interpolation for dynamic placeholders (e.g., Hello, {name}!).
    • Pluralization for managing singular and plural text forms.
    • Kurdish (ku) localization for Material and Cupertino widgets.
    • Seamless integration with Flutter's localization system via BestLocalizationDelegate.
    • Example implementations for both Material and Cupertino apps.
    • Comprehensive date and number formatting for Kurdish using intl.

    Fixed

    • N/A (First release)

    Changed

    • N/A (First release)
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive