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
npm i @adonisjs/i18n
node ace configure @adonisjs/i18n
Created language file resources/lang/en/crud.json and used it. Everything works fine while running in dev mode.
When I build the app using npm run build, it does not copy the resources/lang folder to build. Note that I am not using edge views, so resources only has lang folder.
I am copying it separately after build for now.
Reproduction repo
No response
The text was updated successfully, but these errors were encountered:
Thanks for the feedback! It should have been automatically added to the metaFiles key in the adonisrc.ts file.
In the meanwhile, you can add them by hand:
Package version
2.0.0
Describe the bug
Installed and configured i18n.
Created language file
resources/lang/en/crud.json
and used it. Everything works fine while running in dev mode.When I build the app using
npm run build
, it does not copy theresources/lang
folder tobuild
. Note that I am not using edge views, soresources
only haslang
folder.I am copying it separately after build for now.
Reproduction repo
No response
The text was updated successfully, but these errors were encountered: