Re: Multilingual site options?

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

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 &amp;#228; in the XHTML code and therefore
>> the browser views &#228; 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 :)

chregu

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.