Bump, does anyone have a hint?
Dynamically override/extend language files
Our current resources folder in laravel 5.3 looks like this
themename1\
assets\
views\
lang\
themename2\
assets\
views\
lang\
lang\
en\
nl\
Our views are allready loaded dynamically based on the current theme name.
How can we also use the themed language files?
An extension to the default base language files is preferred, if this is not possible the change of the lang path can be a solution. (but no clue how to do this).
Loading with a namespace worked, but is not what we want. (lang(themename::....) )
The manual shows how to override language files when you build a package
(place overides in resources\lang\vendor{package}{locale} ).
But I was not able to use this technique without an actual package.
Does anyone have a good suggestion?
Please or to participate in this conversation.