Skip to content

Conversation

@kacperjurak
Copy link

Hi,

When using Translatable Doctrine Extensions, one can have multiple language versions of page at one route name. I propose to find routes not only by name but also by current locale. Also, if this search fails, fallback to 2-letter locale (user have en_US locale, but in DB en_EN is stored), and it the latter fails then fallback to default locale.

Best Regards,
Kacper

@matteocaberlotto
Copy link
Member

hello,
sounds good. i only need to check some things before merging.
thanks for the PR
best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants