You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a separate json file to load some other data into my application. I have a local_keys.g.dart file generated and would like to use these keys, but have them loaded from the json file. Using a ListView.builder inside a FutureBuilder<>... it builds out the list correctly.
I am thinking that I need to re-initialize or rebuild the EasyLocationalization.
However, this just prints the exact text from the file and then throws the log warning:
[🌎 Easy Localization] [WARNING] Localization key [LocaleKeys.withinna_harvesting_name] not found�[0m
Is this not a valid way to do this? Is there options for initializing "after" the futurebuider?
fyi... If I enter directly it will translate it: tr(LocaleKeys.withinna_harvesting_name), so the easy_localization is working great, but I do not want to manually enter these names if possible.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I have a separate json file to load some other data into my application. I have a local_keys.g.dart file generated and would like to use these keys, but have them loaded from the json file. Using a ListView.builder inside a FutureBuilder<>... it builds out the list correctly.
I am thinking that I need to re-initialize or rebuild the EasyLocationalization.
Example json:
However, this just prints the exact text from the file and then throws the log warning:
[🌎 Easy Localization] [WARNING] Localization key [LocaleKeys.withinna_harvesting_name] not found�[0m
Is this not a valid way to do this? Is there options for initializing "after" the futurebuider?
fyi... If I enter directly it will translate it: tr(LocaleKeys.withinna_harvesting_name), so the easy_localization is working great, but I do not want to manually enter these names if possible.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions