Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Use multiple paths #53

Open
GertTimmerman opened this issue Jul 4, 2018 · 1 comment
Open

Use multiple paths #53

GertTimmerman opened this issue Jul 4, 2018 · 1 comment

Comments

@GertTimmerman
Copy link

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')

@rgwsk65
Copy link

rgwsk65 commented Oct 22, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants