Closed know-that closed 2 years ago
My API must use \Nnjeim\World\Http\Middleware\Localization::class
@know-that The package world is using it's own middleware Nnjeim\World\Http\Middleware\Localiztion I am sharing with you the result of postman requests. 1- the locale should be set in the header. 2- Only the countries list is localized. if you know of a source of localized cities please share. 3- If you need to use your own middleware for localization you might consider forking the package and modifying this part.
At last i thank you for your input and looking forward for your contribution.