Jesway / flutter_translate

Flutter Translate is a fully featured localization / internationalization (i18n) library for Flutter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ERROR:flutter/lib/ui/ui_dart_state.cc(207)] Unhandled Exception: Unable to load asset: assets/i18n/en.json

xmartinez22 opened this issue · comments

I keep receiving this message when i run my program. if i add
flutter:
assets:

  • assets/i18n

then i receive message No file or variants found for asset: assets/i18n.

Make sure the assets are outside the lib folder.

If the assets are located within the lib folder, you need to specify the path as lib/assets/i18n.

i had to manually create the assets/i18n because it didn't exist. why would it not exist? how do i get these files in there? also yes they are outside the lib folder

nevermind i thought the app was to auto translate it for you but you have to specify the translation yourself?