All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

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: Translating Embedded Content

Status Resolved
Add-on / Version Publisher 1.0.12
Severity Critical
EE Version 2.5.3

Chad Tomkiss

Sep 28, 2013
Hi, We are currently embedding child pages so that we can have tabbed navigation without needing to reload the page. This is currently done by: {embed="{exp:get_template_path entry_id="{entry_id}”}” entry_id=”{entry_id}”} It seems to translate primary content, but not other channels we specify (sidebar etc). The tags we are using within the template are:
{exp:channel:entries channel="partials_2_column" entry_id="{embed:entry_id}"}
<article class="cols eight">
 {p2c_primary_content} <-- This is translated
</article>
<aside class="cols four">
{p2c_sidebar} <-- This isn't :/
</aside>
{/exp:channel:entries}
Any suggestions? Cheers, Chad
#1

BoldMinded (Brian)

Hi, Chad. I’m not familiar with the get_template_path plugin you’re using. If you remove that from the equation does it translate the content properly?

#2

Chad Tomkiss

Hi,

The plugin doesn’t return any content, it just determines which template to use for the entry.

However, looking at the publisher_data table, there’s no field with the sidebar content.

#3

Chad Tomkiss

Just done some digging.

I think it’s down to the fact that it shows English content when there’s no German equivalent?

Is it possible to change that?

#4

BoldMinded (Brian)

Yep, turn off the Fallback settings.

#5

Chad Tomkiss

Hi,

I can’t seem to find that setting?

I tried setting the mode to Production, but with no luck.

Also, we have a Matrix channel entry and allows an Image and a Caption.

The images seem to be set across all languages when uploading to English version - if I try and delete the German image, it doesn’t save.

If I delete the English image, it’s fine, and then when I re-add the image, it’s set across all languages again.

Any ideas?

Thanks for all your help so far man.

Chad

#6

BoldMinded (Brian)

I thought I had public settings for those, guess not. Open the config.php file and look for

'display_fallback' => 'yes',
'replace_fallback' => 'yes',

Set both to “no”

Login to reply