nnjeim / world

A Laravel package which provides a list of the countries, states, cities, currencies, timezones and languages.
MIT License
761 stars 104 forks source link

Lang directory path changed #35

Closed a-j-na closed 2 years ago

a-j-na commented 2 years ago

when i run php artisan vendor:publish --tag=world the lang directory goes under resources but after laravel 9 it should be in the root this make bug of all trans or __() not working unless i deleted resources/lang

nnjeim commented 2 years ago

@a-j-n-a please try php artisan vendor:publish --tag=world --force

a-j-na commented 2 years ago

it still publishes it on resources, not in the lang directory Screen Shot 2022-10-02 at 12 16 01 PM

nnjeim commented 2 years ago

@a-j-n-a i will install the package on L9 and try this. I will let you know of my findings.

nnjeim commented 2 years ago

@a-j-n-a please try to look at translating as below: trans('world:xxxx') https://laravel.com/docs/9.x/packages#translations

nnjeim commented 2 years ago

closed by lack of activity.

a-j-na commented 1 year ago

Thanks a lot, man for this great effort