Re: Multilingual site options?
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
On 13.11.2005 18:28 Uhr, Simon Rönnqvist wrote:
> On Sunday 13 November 2005 17:00, Christian Stocker wrote:
>
>>On 13.11.2005 1:04 Uhr, Simon Rönnqvist wrote:
>>
>>> Hi!
>>>
>>>I'm coming back to an old post here... but hope you can refresh your
>>>memory by checking archive... ;-)
>>>
>>>On Oct 6, 2005, at 12:43, Christian Stocker wrote:
>>>
>>>>On 6.10.2005 11:35 Uhr, Simon Rönnqvist wrote:
>>>>
>>>>>On Oct 3, 2005, at 21:28, Simon Rönnqvist wrote:
>>>>>
>>>>>>However, when I changed the sitedescription variable to
>>>>>>sitedescription_fi I find another problem... all the scandinavian
>>>>>>characters come out encoded on the webpage.
>>>>>>Or let's say ä comes out as &#228; in the XHTML code and
>>>>>>therefore the browser views ä instead of having it in the code...
>>>>>>;-) (I remember some problem like this with the standard usage of
>>>>>>sitename, etc. some time earlier on, but that one got fixed.)
>>>>>
>>>>> But do you have any suggestion on a solution for this?
>>>>
>>>>It was in my last mail, but maybe not really clear
>>>>***
>>>>
>>>>
>>>>>And then this in master.xsl:
>>>>>
>>>>>> <xsl:variable name="sitedescription" select="php:functionString
>>>>>>('bx_helpers_config::getOption',concat('sitedescription_',$lang))"/>
>>>>
>>>>try adding disable-output-escaping="yes" to where you do
>>>><xsl:value-of select="$sitedescription"/>, that may help. Or we have to
>>>>change bx_helpers_config::getOption, so that it resolves the entities.
>>>>But try the disable-output-escaping first :)
>>>
>>>Yes, it works... for the H2-tag... but how to make Google happy?
>>><meta name="description" content="{$sitedescription}"/>
>>
>><meta name="description">
>> <xsl:attribute name="content"><xsl:value-of select="$sitedescription"
>>disable-output-escaping="yes"/></xsl:attribute>
>></meta>
>>
>>(untested)
>
>
> I tried it with the result below...
Works for me. Are you sure, you don't have anything between the opening
<meta> and <xsl:attribute> except whitespace? Otherwise that doesn't work
chregu
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms