Level 75
You can use this package
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi
I am learning Laravel. I want to translate a route. I have created the route in english, to keep away from using my local language in code.
What i want to achieve.
Currently i have a get route called /petition/{$id}. I want to change this name to /underskriv/{$id}, but i dont want to rename in code.
Is this possible to achieve with some translating or something, and still keep the english names in code?
You can use this package
Please or to participate in this conversation.