Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
hi, can anyone help me?
I've got this site that's in three different languages (english, german and french). How to i set the link folder-path to diffrent folders depending on the language selected?
i got the basic xslt down.
<xsl:variable name="langSelectDic" select="umbraco.library:GetDictionaryItem('web-lang-select-dic')"/>
<xsl:variable name="package-target2"> <xsl:if test="$langSelectDic = 'en'">/en/folder/</xsl:if> <xsl:if test="$langSelectDic = 'de'">/de/folder/</xsl:if> <xsl:if test="$langSelectDic = 'fr'">/fr/folder/</xsl:if></xsl:variable>
now what? :S
if you already have you site stucture set up as /en/... /de/.... /fr/....
then think what you may be looking for is in the web.config
<add key="umbracoHideTopLevelNodeFromPath" value="false" /> then niceurl will automatically include the top level node in the url...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Different URL folder path depending on language.
hi, can anyone help me?
I've got this site that's in three different languages (english, german and french). How to i set the link folder-path to diffrent folders depending on the language selected?
i got the basic xslt down.
<xsl:variable name="langSelectDic" select="umbraco.library:GetDictionaryItem('web-lang-select-dic')"/>
<xsl:variable name="package-target2">
<xsl:if test="$langSelectDic = 'en'">/en/folder/</xsl:if>
<xsl:if test="$langSelectDic = 'de'">/de/folder/</xsl:if>
<xsl:if test="$langSelectDic = 'fr'">/fr/folder/</xsl:if>
</xsl:variable>
now what? :S
if you already have you site stucture set up as /en/... /de/.... /fr/....
then think what you may be looking for is in the web.config
<add key="umbracoHideTopLevelNodeFromPath" value="false" /> then niceurl will automatically include the top level node in the url...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.