-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: About qtranxf_use_language() #87
Comments
Comment by johnclause Please, describe the original problem which you need to solve with the steps how to reproduce. |
Comment by resting There are some contents that I want to display in the default language while leaving the others blank. In my case, I only want to enter content in English, but leave Chinese, and Japanese tabs blank. But WP doesn't render the default language's content, when I view in Chinese or Japanese. Looked into the code and found the findings I stated in my first post. |
Comment by johnclause Did you try using option 'Hide Untranslated Content', which, btw, was modified in the latest version on github. Would that solve what you need? |
Comment by johnclause
Is this the same issue: qTranslate-Team/qtranslate-x#21? I am closing this issue for now, we can still write into a closed issue, or we can re-open it, if needed. |
Issue by resting
Thursday Mar 19, 2015 at 08:12 GMT
Originally opened as qTranslate-Team/qtranslate-x#87
I'm curious why the
$show_available
option is set totrue
for this line?Was trying to get WP to display the content under the default language if the one requested is empty. But it doesn't, and shows a line of message instead. I think it means to say that only English is available or something.
Anyway, I found that that's because
$show_available
istrue
, hence this expression isn'ttrue
.Setting
$show_available
tofalse
works, but I'm not sure about the implications.The text was updated successfully, but these errors were encountered: