Problems with Language or cache. Options
gubisoul
Posted: Thursday, November 27, 2008 11:30:22 PM
Rank: Newbie

Joined: 10/8/2008
Posts: 4
Location: Denmark
Hey guys.

Ive tried to implement http://www.umbraco.org/documentation/books/multilingual-11-sites on my latest site, ive done it before without any big issues.

But this time, i had forgotten a couple of things, but i thought i hit the right thing.
It turns out, for the language to really change you need to refresh the entire page.
And on every page that you visited before with the other language you need to refresh aswell.

Now first off i thought it might be a problem with where i placed the language call.

Code:

<xsl:template match="/">
    <xsl:call-template name="setlang" />
</xsl:template>


I tried alot of things, tried making the call like it is on the top most template, still same issue had to refresh the hard way.

Right now ive made a macro which is called on the top page.

Ive tried placing the setlang in all the macroes being called, that did only make it worse.

Now my main question is: can this be a website caching issue, a umbraco issue or a programming error?

If anyone wants to help, i can give access to the site, and hopefully work it out.

I can also post some of the main code sniplets.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.