Skip to content
pubscout

flutter_translate

4.1.0, released 2 years ago by jesway.com

Localization and internationalization library for Flutter supporting JSON translations.

Repository archived
$ flutter pub add flutter_translate
Source repository

What it does

Allows you to define translations for app content in different languages using inline or nested JSON. It supports pluralization, RTL layouts, fallback locales, and automatic locale saving and restoration.

AI-written summary of version 4.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need standard runtime localization using JSON files.
  • You require right-to-left (RTL) language support and fallback locales.
  • You want automatic saving and restoring of the selected user locale.

Skip it when

  • You prefer type-safe, code-generated localization alternatives.
  • You do not use JSON for managing your translation dictionaries.

Strengths

  • Easy to use with simple global methods for translations.
  • Supports mobile, web, and desktop platforms.
  • Built-in pluralization and duals support.

Weaknesses

  • Lacks compile-time safety or code generation for translation keys.
  • Documentation relies heavily on external wiki pages.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Configure translation files and initialize the localization delegate in your app startup.

not documented

Alternatives

Packages that do the same job and could replace flutter_translate.

Works with

Packages commonly used together with flutter_translate: ones it builds on, ones built on it, and its own family.