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
Sitename
-
- Power Poster
- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: Sitename
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
Then use that block on your template (only a single template is needed that way).
Good luck

Re: Sitename
Other waymel wrote: Is it possible to have two {sitename}? I mean one for each of my languages.
Alby
Re: Sitename
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
Last edited by mel on Tue Jul 15, 2008 2:46 am, edited 1 time in total.
Version 1.6-MLE
Re: Sitename
sitename is relative to variable setting in Global Settings and it's unique for ALL languages (unique value).mel wrote: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}?
$mle_translation.sitename is a language variable, if you put in a ONE template you have the value corresponding to the language displayed
Alby