Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Translation working on all pages except home page…
Status | Resolved |
Add-on / Version | Publisher 3.7.4 |
Severity | |
EE Version | 6.3.5 |
Gavin @ JCOGS
Sep 27, 2022Using a simple language drop-down to switch languages
<li>
<a href="" class="no-link" data-bs-toggle="dropdown-menu-lang" title="languages">
<span itemprop="name">{phrase:working_language}</span>
</a>
<ul class="submenu">
{exp:publisher:languages}
<li menuitem itemscope itemtype="http://schema.org/SiteNavigationElement">
<a itemprop="url" href="{switch_language_url}">{long_name}</a>
</li>
{/exp:publisher:languages}
</ul>
<p> </p>
</li>
Works perfectly on every page we’ve tested it on *except* the home page - which does not appear to be affected by choice (site continues to show default language).
We’ve looked for settings and in docs but so far not found anything that might be the cause.
Any thoughts / ideas would be most valued.
Gavin @ JCOGS
Sep 27, 2022
Comment has been marked private.
BoldMinded (Brian)
Sep 27, 2022
I’ll have to see what the URL Translations are set to in Publisher. Can you provide screenshots?
Gavin @ JCOGS
Sep 27, 2022
Comment has been marked private.
BoldMinded (Brian)
Sep 27, 2022
Do you have the language switcher tag inside of a channel:entries tag? Have you tried _only_ the code above in your home page template? Take out everything else, and just put the switcher on the page.
Gavin @ JCOGS
Sep 27, 2022
It is within a channel entries tag, so I’ll try moving it - but menu code on all pages is same - so given that it works fine on non-home pages I’m not hopeful that this will change anything.
Gavin @ JCOGS
Sep 27, 2022
Well that’s a surprise - it worked!
Bril - thanks very much for helping sort that out. Much appreciated 😊