laravel-translations-loader icon indicating copy to clipboard operation
laravel-translations-loader copied to clipboard

Can't get namespace to be taken into account (Laravel Mix 6)

Open sriccio opened this issue 3 years ago • 1 comments

Hello,

First thank you for this loader, it looks amazing.

I am trying to use it for a project and it seems I can't get it to generate objects into the specified namespace for use with i18next.

image

In my webpack.mix.js:

image

The generated translations js content:

image

Am I doing something wrong here or could it be a bug ?

Kind regards!

sriccio avatar Jan 30 '22 15:01 sriccio

I need to look into Laravel Mix 6 integrations, I got some other reports it's not working correctly. I'll try to find time and take a look at this during this week

luisdalmolin avatar Jan 31 '22 12:01 luisdalmolin