qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
558 stars 107 forks source link

"Languages are not set" and "Meta Desc" is Empty #726

Open mikhailnathanielabordo opened 5 years ago

mikhailnathanielabordo commented 5 years ago

Hi, I just want some clarifications on this things.

1) I just wanted to ask why "Languages are not set" on Pages, Custom Post Types while it works Perfectly on Posts 2) For Meta Desc. in the Admin side. the Description does not show If I use %%excerpt%%. 3) for Meta Desc. in the <head></head> why does it display both languages? instead of the current selected language? I use %%excerpt%% on the admin side for this.

Some note for number 3. the Description on the <head> fixed when I manually encoded the value in the Yoast Description like {:en}English Descrption{:ja}Japanese Description{:}

also I'm using the version 3.6.2 of qTranslate-XT for this. :)

Here are some Screenshots.

Screens for Question 1. image image

Screens for Question 2 image

Screens for Question 3 image

Screens for Notes in Question 3 image image

mikhailnathanielabordo commented 5 years ago

Just an Update Question No. 2

Since I am using ACF. I did hide the Content Editor of the Page. so mostly I rely on the $post->post_title to check the translations.

I think the answer to that question is changing the admin/qtx_admin_utils.php file and change this line of code

$available_languages = qtranxf_getAvailableLanguages( $post->post_content ); to $available_languages = qtranxf_getAvailableLanguages( $post->post_title );

and it works fine. on the admin. :)

herrvigg commented 5 years ago

Just a quick test to say the list of languages work well for me with the pages.

Need to check the rest better.