Hi,
I’m running a dual-language site (Swedish(default)/English) using Mark Huot’s Simple Translator. Everything work pretty much ok.
I’m also using LG Better Meta, and what I would like to do is automatically change the meta for <title> and <language>. I tried putting this:
<title>
{if simple_language == "English"}
{title_en}
{if:else}
{title}
{/if}
</title>in the LG Better Meta extension settings, but then the title attribute for English comes out as
<title>{title_en}<title>It seems this is some sort of processing order problem. It seems the simple_language variable has been set, but {title_en} is not interpreted at all. If I switch languages to the default language (Swedish), {title} is interpreted correctly and everything works.
Any ideas on how to fix it?
Thanks,
/Bo
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.