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: Links are not translated inside the categories tag
Status | Resolved |
Add-on / Version | Publisher 2.6 |
Severity | |
EE Version | EE 3.5.10 |
Werner Gusset
Jul 13, 2017
Description:
In a channels entries tag using the categories tag and linking to the category page the link is not translated.
Using this code on a test page here https://www.meister-abrasives.com/de/suche/test_categories
{exp:channel:entries
channel="produkte"
disable="member_data|pagination"
}
<p>
<b>{title}</b> -
{categories}
{exp:publisher:translate_category cat_id="{category_id}"}
Category: <a href="{path='test'}">{cat_name}</a>
{/exp:publisher:translate_category}
{/categories}
<br>
</p>
<p>{/exp:channel:entries}
You’ll see the German output. Looking at the Links you’ll see the are correct, with category reserved word ‘bereich’ and category_url.
Switching to EN you’ll see the links not translated. They stay in German while the category names are translated correct.
This is the same issue like described in ticket #1483.
Detailed steps to reproduce the issue:
1.
2.
3.
BoldMinded (Brian)
Try removing the publisher:translate_category tag pair, you shouldn’t need that.
BoldMinded (Brian)
Never mind, that doesn’t seem to work. Its not translating in my local environment either. I’ll look into this and hopefully have a fix by sometime next week.
BoldMinded (Brian)
Until I get a fix for this, you can try:
The {path=”“} variable is just a shortcut for {site_url}
BoldMinded (Brian)
Closing b/c this is nearly a month old with no replies.