Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Laurence Gillian 600 posts 1219 karma points
    Feb 12, 2009 @ 17:24
    Laurence Gillian
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft