Skip to content
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

Is translastion of routes included? #199

Closed
ScherlOMatic opened this issue Feb 14, 2018 · 8 comments
Closed

Is translastion of routes included? #199

ScherlOMatic opened this issue Feb 14, 2018 · 8 comments

Comments

@ScherlOMatic
Copy link

Hello!

This is not an issue, but I couldn't open a PR for this.

With my previous symfony bundle (jms) I was able to translate my routes for different languages.
/contact = /kontakt = /contacto = etc.

Is there a config for enabling this feature or is it planned?

thx in advance

@mvrhov
Copy link
Contributor

mvrhov commented Feb 15, 2018

IMO, there will be no need for that as the next symfony will support multilingual routes out of the box.

@ScherlOMatic
Copy link
Author

thx for your reply.

the next symfony you are regarding to is version ...?
is there a link you can send me maybe. i havn't found something using google.

thx

@bocharsky-bw
Copy link
Member

bocharsky-bw commented Feb 21, 2018

Yeah, I'm also interested in it. @mvrhov What version of Symfony are you talking about? Do you have some links to blog posts / docs about it?

P.S. @ScherlOMatic Look at JMSI18nRoutingBundle, looks like it can help: schmittjoh/JMSI18nRoutingBundle#218

@marcortola
Copy link

@bocharsky-bw,@ScherlOMatic i18n routing will be included in 4.1 version. You can follow the PR progress here: symfony/symfony#26143

@mvrhov
Copy link
Contributor

mvrhov commented Feb 21, 2018

There is a proposition for router to support translations in different locales. It might be part of 4.1 symfony/symfony#26143

edit: @novecode beat me to it

@rpkamp
Copy link
Contributor

rpkamp commented Sep 16, 2018

Symfony 4.1 is here now and translatable routes are part of it https://symfony.com/blog/new-in-symfony-4-1-internationalized-routing

I think this ticket can be closed.

@picks44
Copy link

picks44 commented Oct 24, 2018

WHat about people using SF 3.4 then? :(

@odolbeau
Copy link
Member

odolbeau commented Jan 8, 2020

As suggested by @rpkamp, I close this ticket.
Sorry @picks44 but I'm afraid adding this feature only for Symfony 3.x requires too much work. :/

@odolbeau odolbeau closed this as completed Jan 8, 2020
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

No branches or pull requests

7 participants