Skip to content

Lang files in sub-directories of the app not handled (non-vendor) #90

Open
@prageeth

Description

@prageeth
  • Laravel Version: 5.8.0
  • PHP Version: 7.2.0
  • Database Driver & Version: mysql

Description:

Language files under sub-directories are not taken into consideration.

e.g.:

/en
   /menu
       menu.php

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions