Description
easy_localization is an open-source Flutter package for translating apps into many languages quickly. You place translation files in an assets folder, declare it in pubspec.yaml, wrap your app in the EasyLocalization widget, and then translate text with extension methods on Text, String and BuildContext. Translations can be loaded as JSON, CSV, YAML or XML, or over HTTP, using the companion Easy Localization Loader. The package reacts to locale changes and remembers them, and supports plurals, gender, nested keys, arguments, right-to-left locales, fallback locales and an error widget for missing translations. It can generate code for localization files and keys, is null safe, and has a customizable logger. On iOS you also need to list supported locales in the app's Info.plist for translations to work.…
Highlights
- Translation files in JSON, CSV, YAML or XML
- Plurals, gender, nesting and RTL locales
- Persists locale changes
- Fallback locale and missing-translation widget
- Code generation for keys and files
- Extension methods on Text and BuildContext
Ratings & Reviews
No ratings yet
Be the first to rate Easy Localization.
People also visit

flutter-localizing-apps
Configures a Flutter app to support multiple languages and regions
Easy Localization FAQ
What is easy_localization?
A Flutter package for internationalizing apps, with support for many file formats, plurals, gender and RTL languages.
How do I set it up?
Add it to pubspec.yaml, create a translations folder, declare it as an asset, call EasyLocalization.ensureInitialized() and wrap your app in the EasyLocalization widget.
How do I translate a string?
Use Text('title').tr(), 'title'.tr(), tr('title') or context.tr('title').
Does it work on iOS?
Yes, but you must add the supported locales to ios/Runner/Info.plist.
Can I load translations from the network?
Yes, with Easy Localization Loader you can load JSON, CSV, HTTP, XML or YAML sources.
What are the best Easy Localization alternatives?
Popular alternatives to Easy Localization include Accent, AI App Localization and doloc. See all Easy Localization alternatives








