Language Selector
This is an open discussion with 3 replies, filed under General.
Search
Use css to change the markup for the a href to capitols.. .box1 a, .box1 span{text-transform:uppercase;}
It's better to alter presentation in CSS rather than the code.
Your code works as expected
<a href="{$root}/{.}{$parent-path}/{$current-page}"><xsl:value-of select="."/></a>
outputs $root
+ /
+ current language code + $parent-path
(in your case /
) + /
+ $current-page
http://positiv.positivrat.ch + / + de + / + / + startseite
Thanks to moonoo2 that was the right tipp! Sometimes its too easy to see!
greez
Create an account or sign in to comment.
Hi @all
My language selector does work more or less but i won't do give out some other link names but i can't access them. i think its a small thing but i didn't find out...
my template look like this:
the output in debug mode look like this:
and the html looks like this:
but id should look like this:
so i want to give out the language names in capital letters
any idea?
thanks for advice
greez...