I'm building out a multi-language site using Transcribe which is coming along nicely. I'm having one issue with my navigation snippet (using low variables early parsing turned on).
I've got the following conditional working elsewhere in the site (in an embedded template)
{if '{transcribe:language_abbreviation}' =="en"}{category_name}{/if}{if '{transcribe:language_abbreviation}' =="fr"}{category_name_fr}{/if}
However when I use the same conditional inside the lv_nav snippet it fails to render anything. Relevant code below:
{exp:channel:categories channel="people" style="linear"}
<li><a href="{path='about/people'}">{if '{transcribe:language_abbreviation}' =="en"}{category_name}{/if}{if '{transcribe:language_abbreviation}' =="fr"}{category_name_fr}{/if}</a></li>
{/exp:channel:categories}
If instead of using the conditional I just use {category_name}
everything works fine except that on the French pages I've got English displaying and not French.
Any ideas why this is happening? I've also tried replacing {transcribe:language_abbreviation}
with {exp:transcribe:language_abbreviation}
and there was no change.