laravel-vue-i18n-generator icon indicating copy to clipboard operation
laravel-vue-i18n-generator copied to clipboard

Use multiple paths

Open GertTimmerman opened this issue 6 years ago • 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')

GertTimmerman avatar Jul 04 '18 09:07 GertTimmerman

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

rgwsk65 avatar Oct 22 '18 23:10 rgwsk65