Title: Content pass through for default language missing
Last modified: August 22, 2016

---

# Content pass through for default language missing

 *  [xflow](https://wordpress.org/support/users/xflow/)
 * (@xflow)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/content-pass-through-for-default-language-missing/)
 * Hi
 * qTranslate as well as mqTranslate automatically passed through content if for
   a non-default language was no content available. Is there any chance we could
   get back that feature? Maybe with a separate option? In terms of galleries, where
   all translation is done in the media backend, that reduces data maintenance efforts
   significantly.
 * I give you an example. DE is default language for one of my photography WP installations.
   With mqT and qT original I only needed to enter **one** quick gallery shortcode([
   gallery ids="1,2,3,4,..."]) into the DE editor text field. The EN text field 
   remained blank. Tough the DE content was passed on to the user/browser. Like 
   I said, in terms of images/a gallery, that is quite ok as the translation information
   is attached to the media object. Having to maintain only 1 gallery object in 
   1 post is effort saving.
 * Thx
    Florian
 * [https://wordpress.org/plugins/qtranslate-x/](https://wordpress.org/plugins/qtranslate-x/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [John Clause](https://wordpress.org/support/users/johnclause/)
 * (@johnclause)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/content-pass-through-for-default-language-missing/#post-5824295)
 * I tried to reproduce and I got the same result with mq and -X. Both plugins show
   on EN page “Sorry, this entry is only available in Deutsch.”, if EN is left empty
   in editor. I guess, I need more specific instructions on how to reproduce?
 *  [WillPS](https://wordpress.org/support/users/willps/)
 * (@willps)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/content-pass-through-for-default-language-missing/#post-5824346)
 * This would be most useful for me too – [https://wordpress.org/support/topic/option-to-display-default-content-if-no-translation-available](https://wordpress.org/support/topic/option-to-display-default-content-if-no-translation-available)
   Post 5 on there might be helpful for you?
 * Does this work on -X?
 *  [heliogabal23](https://wordpress.org/support/users/heliogabal23/)
 * (@heliogabal23)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/content-pass-through-for-default-language-missing/#post-5824466)
 * This would be a very nice option to have indeed. After looking at Post 5 of the
   mentioned link, I found the corresponding hooks for qtranslate-x:
 *     ```
       qtranxf_useCurrentLanguageIfNotFoundShowAvailable
       qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage
       ```
   
 * but when I try adding these to my themes’ functions.php like this, there’s no
   difference at all:
 *     ```
       remove_filter('the_content', 'qtranxf_useCurrentLanguageIfNotFoundShowAvailable', 100);
       add_filter('the_content', 'qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage', 0);
       ```
   
 * Do I have to do anything else or is this supposed to work? Or should the Compatibility
   Functions be enabled and the original hooks be used?
 *     ```
       qtrans_useCurrentLanguageIfNotFoundShowAvailable
       qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage
       ```
   
 * first steps with wordpress here, so maybe I missed something obvious?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Content pass through for default language missing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate-x_f9f9f9.svg)
 * [qTranslate X](https://wordpress.org/plugins/qtranslate-x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate-x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate-x/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate-x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate-x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate-x/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [heliogabal23](https://wordpress.org/support/users/heliogabal23/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/content-pass-through-for-default-language-missing/#post-5824466)
 * Status: not resolved