Skip to content

About localization

Relorer edited this page Feb 10, 2023 · 1 revision

Localization files are located in edokuri\assets\translations\

After the localization changes, it is necessary to generate localization files

  1. Run flutter pub run easy_localization:generate -S "assets/translations"
  2. Then run flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S "assets/translations"

Example of using localization: LocaleKeys.recent.tr(); where recent is the name of the record in the localization files

More about easy_localization

Clone this wiki locally