The pageHeader should have been conteated as pageHeader_cy-gb and pageHeader_en-gb. On Document type I have named Documet as pageHeader_en-gb as alias name and pageHeader_cy-gb as alias name have created correct macro. That Macro I refered on concerned Template. On content I get 2 different Tabls and I have set different values. But for some reason the culture is not recognised at run time and $flang value seems to be empty and no values are reflected. on pageHeader
en-gb is english uk and cy-gb is welsh
Please please some one help me out in This. I 'm struggling for long. Thanks in advance
Multi Language Langudge
I have been struggeleing with culture in culture recoginition please help. as per help from earlier query by me and earlier link http://umbraco.org/documentation/books/multilingual-11-sites, few items I was able to get.
The culture I use is cy-gb and en-gb. I'm able to change values if I match the dictionary. But not able to change if I use the Content tab.
I have used one xslt
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:Stylesheet [ <!ENTITY nbsp " "> ]>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">
<xsl:include href="../xslt/lang_lib.xslt" />
<xsl:output method="xml" omit-xml-declaration="yes"/>
<xsl:param name="currentPage"/>
<xsl:template match="/">
<!-- start writing XSLT -->
<h1>
<xsl:value-of select="$currentPage/data[@alias = concat('pageHeader','$flang')]" disable-output-escaping="yes" />
</h1>
<xsl:value-of select="$currentPage/data[@alias = concat('bodyText',$flang)]" disable-output-escaping="yes" />
<xsl:text>flang:</xsl:text>
<xsl:value-of select="$flang"/>
</xsl:template>
</xsl:stylesheet>
The xslt lang_lib.xslt included is as per http://umbraco.org/documentation/books/multilingual-11-sites
The pageHeader should have been conteated as pageHeader_cy-gb and pageHeader_en-gb. On Document type I have named Documet as pageHeader_en-gb as alias name and pageHeader_cy-gb as alias name have created correct macro. That Macro I refered on concerned Template. On content I get 2 different Tabls and I have set different values. But for some reason the culture is not recognised at run time and $flang value seems to be empty and no values are reflected. on pageHeader
en-gb is english uk and cy-gb is welsh
Please please some one help me out in This. I 'm struggling for long. Thanks in advance
is working on a reply...