Adding a basic language menu
Now that we have some pages translated we need to make it easier to access. The only way to see the localized pages right now is by adding
&L=2 to the address of any page, and that's not going to work for our visitors. We need to create a basic language menu for them. Adding the language menu is like adding a link to a printable version of our pages. We just need to provide a link to the localized version of the page instead. We're going to go through the same steps of adding a spot to the template in HTML and TemplaVoila, and then we can assign the languages to it through TypoScript.
- Our first step is to add a container for the new menu to our HTML templates. Go ahead and open