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: Hide untranslated fields and phrases

Status Resolved
Add-on / Version Publisher 1.7.1
Severity
EE Version 2.9.2

Mohammed Al-Faisal

Oct 12, 2016

Hi,

I have an entry with 5 fields but only want to translate 3 of them to a different language, I can’t figure out how to hide the untranslated fields on the page when a visiter switches to the other language.
example:

field             default language       language 2
{title}                yes                   yes
{subtitle}            yes                   yes
{body}              yes                   yes
{quote}              yes                   no (don’t display on website)
{about}              yes                   no (don’t display on website)

I tried picking no for “Display Fallback” options in settings but that didn’t do it, it still displays the field in the default language.

Also, is there a way to hide untranslated phrases?

Publisher was installed on a running site that already contained entries.

#1

BoldMinded (Brian)

Have you tried {if field != “”}{field}{/if}

#2

Mohammed Al-Faisal

The fields are required for the default language so they become required for the translation in the CP, therefor they will always != ‘”“

#3

BoldMinded (Brian)

I’m sorry but that’s the only solution I have. You’re sure you set display fallback FE to no?

Login to reply