For each page I am using the Vorto package to create the content in 2 languages, it works perfect when I switch the Home umbraco language culture between the languages, eg. En or PT.
I have a property for title e content for each language.
I am thinking on the approach to:
on global file
// read if cookie exist, if yes pick the language from cookie and update the umbraco language culture
On razor file
// create a dropdown with language switcher
Then create a controller:
// to create or update cookie with the selected language, then update the umbraco language culture
Is there any good tutorial on how to do this?
Is this the best approach?
I am search on the net and only found multilingual for multiple nodes.
Help with Multilingual
Hi all
I am creating a website in Umbraco 7.1.4 MVC
In the site root I have some nodes:
For each page I am using the Vorto package to create the content in 2 languages, it works perfect when I switch the Home umbraco language culture between the languages, eg. En or PT.
I have a property for title e content for each language.
I am thinking on the approach to:
on global file
// read if cookie exist, if yes pick the language from cookie and update the umbraco language culture
On razor file
// create a dropdown with language switcher
Then create a controller:
// to create or update cookie with the selected language, then update the umbraco language culture
Is there any good tutorial on how to do this?
Is this the best approach?
I am search on the net and only found multilingual for multiple nodes.
Hello,
You can find a 1-1 multilingual example here: https://our.umbraco.org/projects/developer-tools/1-1-multilingual-example/
Jeroen
is working on a reply...