mcamara / laravel-localization

Easy localization for Laravel
MIT License
3.32k stars 507 forks source link

Add an example with attributes for getURLFromRouteNameTranslated #874

Closed paulprins closed 11 months ago

paulprins commented 12 months ago

This appears to be the most direct way to make links within a website that leverage the routes.php files. The lack of documentation for the use of the attributes took me way to long to look up. So here I am providing a simple addition to the documentation to help others (and myself) in the future.

mcamara commented 11 months ago

Thanks! I'll merge your PR, improvements to the readme file are always welcomed