Closed ipimpat closed 2 years ago
Hey @ipimpat can you provide me the lang folder names to see if I can find any issue on that?
Thanks.
I'm using Laravel 9.
This is my lang
folder in the app root directory.
├── en
│ ├── auth.php
│ ├── pagination.php
│ ├── passwords.php
│ └── validation.php
└── en.json
Thanks for the follow-up, and if you can check what you have on the <html lang="">
tag, would be great.
Hey @ipimpat any follow up?
The lang attribute is set to en
Hey @ipimpat can you try the latest tag?
Seems to work now, thanks a lot!
I can't get translation to work using latest two releases of this package (v1.4.4 or v2.0.0), but v1.4.3 does seems work with the setup below.
When using v1.4.4 and v2.0.0, the $t() function does not translate the given string and the isLoaded function always returns false, but if I replace either of those versions with v1.4.3, then the isLaoded function returns true and translation works.
There are no errors raised and I can see the generated translation files gets fetched when loading my application in the browser.
webpack.mix.js
app.js