-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map locales to custom slugs #20
Labels
Comments
Also map route name prefix to locales? See #35 |
I like the idea of slugs, any progress? |
Not yet, as there was need for it yet. |
tanerkay
added a commit
to tanerkay/laravel-localized-routes
that referenced
this issue
Jan 10, 2023
tanerkay
added a commit
to tanerkay/laravel-localized-routes
that referenced
this issue
Jan 10, 2023
Merged
ivanvermeyen
pushed a commit
that referenced
this issue
Jan 10, 2023
* add support for custom prefixes for localized routes (#20) * alternatively, use the locale as the route name prefix and the custom prefix only for the URLs * minor fix: `array_key_first()` is a PHP 7.3+ function being used in a repo with support for PHP 7.1+
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add the ability to configure custom slugs values for locales, in addition to localized domains.
Maybe something in the lines of:
If you don't add a slug for a locale, the locale itself can be used, so it is optional.
If you don't add a domain for a locale, the default
app_url
be used, so it is optional.The text was updated successfully, but these errors were encountered: