Does anyone here know how to get LG Multi Language to work with single entry templates that rely on the URL to display content? For example, I have a News article template with the following code:
{exp:weblog:entries weblog="news"}
{if lg_lang == 'fr'}
<h2>Faits saillants</h2>
<h3>{news_title_fr}</h3>
{news_body_fr}
{if:else}
<h2>News</h2>
<h3>{title}</h3>
{news_body}
{/if}
{/exp:weblog:entries}
If I go to www.example.com/news/article/article-title/, the single English article will display. If I go to www.example.com/news/article/article-title/fr/ all the news articles are displayed. How do I get around this?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.