Closed maksym-ostrovyj-ew closed 3 years ago
Hello. I try to use another path for my localization files
var delegate = await LocalizationDelegate.create( ... basePath: '/data/user/0/com.example.app/app_flutter/i18Sources/' ... supportedLocales: [ 'en_EN', 'pt_PT', 'pt_BR', ]
but I still have this Unhandled Exception: Unable to load asset: /data/user/0/com.example.app/app_flutter/i18Sources/en.json
Is there any way to use localization files outside of the assets folder?
@kabazyba - The assets need to be located within the assets bundle, there is no other alternative for now.
Hello. I try to use another path for my localization files
var delegate = await LocalizationDelegate.create( ... basePath: '/data/user/0/com.example.app/app_flutter/i18Sources/' ... supportedLocales: [ 'en_EN', 'pt_PT', 'pt_BR', ]
but I still have this Unhandled Exception: Unable to load asset: /data/user/0/com.example.app/app_flutter/i18Sources/en.json
Is there any way to use localization files outside of the assets folder?