qTranslate-Team / qtranslate-x

Wordpress plugin: Adds user-friendly and database-friendly multilingual content management and translation support.
http://qtranslatexteam.wordpress.com/about/
GNU General Public License v3.0
206 stars 149 forks source link

Hiding alternative content not working with ACF custom fields #601

Open CesarNatic opened 6 years ago

CesarNatic commented 6 years ago

Hi everyone:

Im making a webpage with ACF, Advanced Custom Fields: qTranslate and qtranslate-x in english and spanish and i want to hide the content of some text fields if the text is not translated on the selected language. In the configuration of the qtranslate-x seems like there are two options that can manage this, but anyone of these makes any change if the content is on a custom field.

If the content is from a default field it works fine, shows a message saying that the content is not available in the selected language, but if i do the same with a custom field, like a text field in a ACF repeater, it shows something like: [English] xxxxxxxx, when i just want to hide the field completly. PD: Plugins are up to date.

Any help is appreciated,

Thanks, César.

herrvigg commented 5 years ago

qTranslate-X is abandoned (since 2016) but we have been reviving it as qTranslate-XT in this repo: https://github.com/qtranslate/qtranslate-xt

I have to understand this issue better but i see there is also an extra plugin to handle the integration with ACF as for WooCommerce and GravityForms. What i've started to do is to fully integrate these plugins in qTranslate-XT so we can handle the evolutions more easily. We might do something similar here.