Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello guys,
Is there a way to create a multilingual website without duplicate the document type tree in the content tab ?
I have 2 issues with this architecture, the redondancy and the complexity of the language switcher.
I would like to add the language code as the first parameter in the url and use Vorto to access the traductions of my components.
I'm learning about the request pipeline: https://our.umbraco.org/documentation/Reference/Routing/Request-Pipeline/
Is there any practical example that i could follow to solve my problem ?
Thank you by advance, Ali
Hi Ali
Vorto is exactly what you need for the multilingual website without duplicate the document tree in the content tab.
Can you provide an example of urls with language code?
Thanks
Alex
Hello Alex,
The culture I use: nl-be, fr-be
Example of tree with urls
Home: /nl-be, /fr-be Page1: /nl-be/page1, /fr-be/page1 Page2: /nl-be/page2, /fr-be/page2 Contact: /nl-be/contact, /fr-be/contact
Kr, Ali
Ali, you can just assign urls to /nl-be and /fr-be to root node with needed cultures, and this is enough, you don't need to do custom code for it, Umbraco will handle it for you.
Thanks,
Thank you very much Alex !
I've done some tests, it works very well.
Just for information, i've read this post: https://our.umbraco.org/forum/using-umbraco-and-getting-started/78576-vorto-or-not
I think that i'll implement the duplicate solution after all, just to be sure that the architecutre will be stable for future evolutions of the app
Hi Ali,
Please, share with community what decision did you make and what advantages it has :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Language as first parameter in URL
Hello guys,
Is there a way to create a multilingual website without duplicate the document type tree in the content tab ?
I have 2 issues with this architecture, the redondancy and the complexity of the language switcher.
I would like to add the language code as the first parameter in the url and use Vorto to access the traductions of my components.
I'm learning about the request pipeline: https://our.umbraco.org/documentation/Reference/Routing/Request-Pipeline/
Is there any practical example that i could follow to solve my problem ?
Thank you by advance, Ali
Hi Ali
Vorto is exactly what you need for the multilingual website without duplicate the document tree in the content tab.
Can you provide an example of urls with language code?
Thanks
Alex
Hello Alex,
The culture I use: nl-be, fr-be
Example of tree with urls
Kr, Ali
Ali, you can just assign urls to /nl-be and /fr-be to root node with needed cultures, and this is enough, you don't need to do custom code for it, Umbraco will handle it for you.
Thanks,
Alex
Thank you very much Alex !
I've done some tests, it works very well.
Just for information, i've read this post: https://our.umbraco.org/forum/using-umbraco-and-getting-started/78576-vorto-or-not
I think that i'll implement the duplicate solution after all, just to be sure that the architecutre will be stable for future evolutions of the app
Hi Ali,
Please, share with community what decision did you make and what advantages it has :)
Alex
is working on a reply...