Page 1 of 1

Sitename

Posted: Sun Jul 13, 2008 4:45 pm
by mel
Hi,
Is it possible to have two {sitename}? I mean one for each of my languages.
If not, how we can manage to have a language specific sitename in my metadata description? I will have to use two different templates and writing a different name in header description?
Thanks!
Mel

Re: Sitename

Posted: Mon Jul 14, 2008 6:12 am
by christiaans
A very easy way would be to create a new global content block, and add the site name in each language in that content block.

Then use that block on your template (only a single template is needed that way).

Good luck :)

Re: Sitename

Posted: Mon Jul 14, 2008 6:22 am
by alby
mel wrote: Is it possible to have two {sitename}? I mean one for each of my languages.
Other way

Alby

Re: Sitename

Posted: Tue Jul 15, 2008 2:38 am
by mel
Other way

Alby
Really cooool! I read this topic before, but I didn't really understand how/why it could be use, so I just skip over it...

But with this method, I will need two templates? One with {sitename} and one with {$mle_translation.sitename}?

Thanks!
Mel

Re: Sitename

Posted: Fri Jul 18, 2008 5:01 pm
by alby
mel wrote:
Other way

Alby
Really cooool! I read this topic before, but I didn't really understand how/why it could be use, so I just skip over it...

But with this method, I will need two templates? One with {sitename} and one with {$mle_translation.sitename}?
sitename is relative to variable setting in Global Settings and it's unique for ALL languages (unique value).
$mle_translation.sitename is a language variable, if you put in a ONE template you have the value corresponding to the language displayed

Alby