You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't know if you get this solved, but I tried your setup and for me it worked when I just run php artisan langman:show menu instead of php artisan langman:show menu/menu. So seems like you don't have to put in the whole path.
The only problem is, if you have two files that are named the same, so if you have /en/menu.php and /en/menu/menu.php. The command langman:show will pick the first one.
Description:
Language files under sub-directories are not taken into consideration.
e.g.:
The above is valid and can be accessed using
__('menu/nav.some-key')
.However, this package doesn't recognise them.
Steps to reproduce:
Add a language file in the file structure above (with some keys).
Then run
php artisan langman:show menu/nav
Excepted Result
See the keys and their translations
Actual Result
No keys are shown
The text was updated successfully, but these errors were encountered: