-
Notifications
You must be signed in to change notification settings - Fork 1
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
- Run
flutter pub run easy_localization:generate -S "assets/translations"- 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
In the latest versions, we switched to POCKETBASE for this reason .env file should contain a link to backend server POCKETBASE_URL