martinlindhe/laravel-vue-i18n-generator

Use multiple paths

GertTimmerman opened this issue · 1 comments

I have a seperate Modules folders where i have a folder per module. Within each module folder i have the translations for that module.

With laravel i can get this translatation with:

@lang('module::validation.key')

Now i only can configure a string for the langPath config option, but i want to set multiple locations so i can use all the translation i have.

Is it possible to make the langPath have an array with multiple paths and get the translation with:

$t('module::validation.key')

I'm also using "modular" structure. Is there a way to get it working?