EZ Flutter supports the usage of multiple languages for a app.


Translation is handled by different .json files that contain the translation for each language supported by the app. The translation files are automatically loaded by the EzRunner at startup. Create a .json file with the pattern locale_$loacle.json under the locale folder for each supported language.

Example: locale_en.json && locale_de.json

  "some_message": "This is some message!"
  "some_message": "Dies ist eine Nachricht!"


Define supported languages

Add all supported locales to the EzRunner at startup., [Locale('en'), Locale('de'), Locale('en')]);

Access translation

Access the translation within your app via the EzTranslator.