I've spent quite a bit of January, working on a development which is initially going to be a 2 lang site, moving to 8 later in the year, and possibly more after this.
This was my addition to the code on the tutorial... just deals with when the language isn't avalible.
[code]
[/code]
I've created a new variable called $defaultLang, which is set in the 'siteroot' document type, e.g your homepage. Its useful this being a variable, as we did some cool stuff to update lang codes on pages, feeds, etc...
Just set this variable in the library xslt, and your set.
Used similar approaches to all relevant fields on our website, and it works really well. No doubt it'll have to be developed a little when we move to 8 langs, but for now its fine.
1:1 Multilingual Sites (after thoughts)
I've spent quite a bit of January, working on a development which is initially going to be a 2 lang site, moving to 8 later in the year, and possibly more after this.
This was my addition to the code on the tutorial... just deals with when the language isn't avalible.
[code]
[/code]
I've created a new variable called $defaultLang, which is set in the 'siteroot' document type, e.g your homepage. Its useful this being a variable, as we did some cool stuff to update lang codes on pages, feeds, etc...
Just set this variable in the library xslt, and your set.
Used similar approaches to all relevant fields on our website, and it works really well. No doubt it'll have to be developed a little when we move to 8 langs, but for now its fine.
L
is working on a reply...