PackageTrack
Sign in Get early access

anas_localization

Flutter/Dart localization with multiple language support, runtime switching, custom dictionaries, code generation, and RTL for scalable internationalization.

1.3.0 Melsaeed276/anas_localization

What this package is like to depend on

Last release 1 months ago

22 Jul 2026

Ships fairly regularly

a new release about every 2 weeks

Nearly every release is documented

notes for 10 of 10 stable releases

Nothing withdrawn

no release was ever pulled

3 months old

10 releases · first in 2026

10 releases in the last 12 months

see the full history below

Release timeline

10 releases · May 2026 to Jul 2026
Release Pre-release

Releases

latest 10
  1. 1.3.0 22 Jul 2026
    Release notes

    1.3.0 (2026-07-22)

    Features

    • generator: add exclude keys mechanism for codegen (#10) (d83c8f1)

    Bug Fixes

    • deps: downgrade analyzer constraint to ^13.0.0 for Flutter SDK compatibility (7da1376)
    • deps: widen analyzer constraint to >=13.0.0 <15.0.0 for pana pub score (a90dc90)
    Open source →
    Release notes

    Features

    • generator: add exclude keys mechanism for codegen (#10) (d83c8f1)

    Bug Fixes

    • deps: downgrade analyzer constraint to ^13.0.0 for Flutter SDK compatibility (7da1376)
    • deps: widen analyzer constraint to >=13.0.0 <15.0.0 for pana pub score (a90dc90)
    Open source →
  2. 1.2.2 21 Jul 2026
    Release notes

    1.2.2 (2026-07-21)

    Bug Fixes

    • ci: use dart build exe instead of dart compile for release artifacts (#205) (3f09ea8)
    Open source →
    Release notes

    Bug Fixes

    • ci: use dart build exe instead of dart compile for release artifacts (#205) (3f09ea8)
    Open source →
  3. 1.2.1 17 Jul 2026
    Release notes

    What's Changed

    • fix(ci): publish to pub.dev from tag push, not branch push by @Melsaeed276 in #157
    • deps(deps): bump anas_localization from 1.1.0 to 1.2.0 in /tool/catalog_app by @dependabot[bot] in #158
    • chore: remove superseded PACKAGE_IMPROVEMENT_SUGGESTIONS.md by @Melsaeed276 in #179
    • chore(github): expand feature-impact checklist, auto-label issues for triage by @Melsaeed276 in #169
    • feat(github): auto duplicate-detection for new issues by @Melsaeed276 in #170
    • feat(github): form-label sync, stale bot, PR auto-labeler, CODEOWNERS by @Melsaeed276 in #171
    • chore(main): release 1.3.0 by @github-actions[bot] in #180
    • fix(remote): apply remote translations to live dictionary after check by @Melsaeed276 in #186
    • chore(main): release 1.3.1 by @github-actions[bot] in #187
    • chore(main): release 1.4.0 by @github-actions[bot] in #188
    • fix(ci): pin Release Please to 1.2.0 and gate pub.dev publish on PR checkbox by @Melsaeed276 in #189
    • fix(ci): pin release-please to v1.2.0 and auto-clear after release by @Melsaeed276 in #192
    • fix(ci): force next release to 1.2.1 via release-as by @Melsaeed276 in #195
    • chore(release): 1.2.1 by @Melsaeed276 in #198
    • ci: allow manual force_publish bypass for one-off releases by @Melsaeed276 in #200
    • ci: authorize tag pushes matching pubspec version by @Melsaeed276 in #202
    • fix(ci): compare tag (with v) to pubspec version by @Melsaeed276 in #204

    Full Changelog: v1.2.0...v1.2.1

    Open source →
    Release notes

    Bug Fixes

    • ci: reset release version baseline to 1.2.x after mis-bumped 1.4.0/1.5.0 releases (#195)
    Open source →
  4. 1.1.0 13 Jul 2026
    Release notes

    Bug Fixes

    • remote: apply remote translations to live dictionary after check (#186) (a5c94af)
    Open source →
  5. 0.1.6 03 Jul 2026
    Release notes

    What's Changed

    Full Changelog: https://github.com/Melsaeed276/anas_localization/commits/v0.1.6

    Open source →
    Release notes
    • CI: pinned Flutter to 3.44.2 and normalized catalog web bundle output (permissions + deterministic serviceWorkerVersion) so check-generation is stable across runners.
    • Tests: updated tool/catalog_app wrapper widget test to match the current UI (opens settings before asserting display language).
    Open source →
  6. 0.1.4 05 Jun 2026
    Release notes
    • Fixed _extractNamedExpression in migration_helper.dart to use source-text pattern matching instead of is NamedExpression, which was removed from the analyzer public API in v13.
    Open source →
  7. 0.1.3 05 Jun 2026
    Release notes
    • Extracted hasCircularFallback, resolveFallbackChain, getLanguageCode, sameLanguageGroup into a dart:io-free helper file (catalog_fallback_helpers.dart) so the public library no longer transitively imports dart:io, enabling full platform support (iOS, Android, Web, Windows, macOS, Linux).
    Open source →
  8. 0.1.2 05 Jun 2026
    Release notes
    • Fixed type errors in migration helper (_extractStringLiteral now accepts AstNode for compatibility with analyzer v13+ where ArgumentList.arguments returns NodeList<Argument> instead of NodeList<Expression>).
    • Fixed _buildGenL10nMethodReplacement call to filter arguments with .whereType<Expression>() for analyzer v13+ compatibility.
    Open source →
  9. 0.1.1 31 May 2026
    Release notes

    Merge branch 'main' into update-the-score

    Open source →
    Release notes
    • Fixed migration helper compatibility with analyzer v13 (NamedExpression removed from public API, switched to source-text pattern matching).
    • Widened analyzer constraint from ^10.0.1 to >=10.0.1 <14.0.0 for broader SDK compatibility.
    • Added pub.dev automated publishing workflow via dart-lang/setup-dart/.github/workflows/publish.yml.
    • Fixed CHANGELOG version check in release workflows (removed strict line-end anchor).
    • Added consumer E2E integration test suite for CLI and codegen workflows.
    • Improved type handling in migration helper (Expression type guards, whereType filtering).
    • Stabilized CI test suite and resolved pre-existing test failures.
    • Updated package description for clarity and conciseness.
    Open source →
  10. 0.1.0 19 May 2026
    Release notes
    • English localization alignment: shared base en with regional overlays (en_US, en_GB, en_CA, en_AU), one/other-only plural validation for English locales, validator and docs clarify English-scope boundaries and locale notation (underscore in file names, hyphen in user-facing labels).
    • Added AnasDateTimeFormatter.preferredDateSkeleton returning region-correct date-order patterns (M/d/y for en_US, d/M/y for en_GB and en_AU, y-MM-dd for en_CA).
    • Added AnasNumberFormatter.defaultCurrencyCode returning ISO 4217 currency codes for regional English locales (USD, GBP, CAD, AUD).
    • Exposed TranslationValidator.isEnglishLocale and TranslationValidator.requiredPluralFormsForLocale as public static methods for custom tooling and Catalog UI.
    • Added package-level regional English asset files (assets/lang/en_US.json, assets/lang/en_GB.json, assets/lang/en_CA.json, assets/lang/en_AU.json) with spelling and locale-convention overrides.
    • Expanded doc/reference/file-structure.md with a regional English overlays section, English-vs-Arabic scope comparison table, and validator behavior notes.
    • Added namespaced/module dictionary generation options: --modules, --modules-only, and --module-depth.
    • Added standalone Catalog UI sidecar (catalog serve) with Swift String Catalog-style table editing, review actions, and status badges.
    • Catalog UI: added hide_catalog_ui_keys (default true) to hide catalog chrome strings from the editor; disable it if your project legitimately uses the same key names (for example refresh).
    • Added Create New String workflow (+ New String UI and catalog add-key CLI) with dotted key validation and per-locale value inputs.
    • Added new key status behavior: all locales filled at creation => green; partial creation => warning with new_key_needs_translation_review.
    • Added catalog API endpoints for key creation, cell update/delete, review marking, summary, and metadata.
    • Added CLI catalog command group (init, status, serve, add-key, review, delete-key) and dev --with-catalog sidecar mode.
    • Added catalog unit/integration/CLI tests covering create-key states, duplicate rejection, API behavior, and state persistence across restart.
    • Added doc/SETUP_AND_USAGE.md with end-to-end setup, runtime usage, and catalog workflow instructions.
    • Added validator strictness profiles (strict, balanced, lenient) with per-rule toggles and CLI wiring.
    • Added placeholder schema validation (required/type/format/select values) with ARB metadata support and optional --schema-file sidecar.
    • Added benchmark harness for 1k/5k/10k datasets with cold-load, hot-switch, and memory RSS metrics.
    • Added expanded regression coverage for nested/plural/gender/fallback behaviors and malformed CLI import/export inputs.
    • Added migration guide from easy_localization and expanded migration guide from Flutter gen_l10n, including rollback notes.
    • Added README positioning updates with badges, "Why this package", and a competitor comparison matrix.
    • Added medium/advanced example matrix documentation with visual output diagrams.
    • Added release-gating CI workflow for version/changelog checks, generator smoke checks, and pub publish --dry-run.
    • Added CONTRIBUTING.md and SECURITY.md to improve package trust and contribution onboarding.
    • Fixed ARB locale extraction from filenames to preserve full locale tails (for example en_US, zh_Hant_TW).
    • Fixed rule toggle override semantics so profile defaults (for example lenient checks) are preserved unless explicitly overridden.
    • Fixed benchmark CI workflow to use Flutter SDK setup and flutter pub commands.
    • Added runtime LocalizationService.configure(...) to set asset path and supported locales in one place.
    • Added Flutter preview support via previewDictionaries on AnasLocalization and service-level preview dictionary APIs.
    • Fixed async locale change behavior by awaiting locale save in setLocale.
    • Improved saved locale parsing normalization and country/language casing.
    • Added tests for Flutter preview dictionaries and widget configuration wiring.
    • Updated README with Flutter preview usage and fixed conflicting assetPath example.
    • Added pre-launch hardening: typed localization exceptions, unified validators, nested key support, and expanded CLI workflows.
    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