[WP_Multilingual] language fallback to default language not working outside blog (3 posts)

  1. chiangmaihiking
    Posted 5 years ago #


    Am hoping I can get in touch with someone who can help here. Previously I tried to post this on the WPML support forum but got an error message :-(

    Thanks for your work on this great plug in.

    Am having a little problem that I cannot seem to find a solution for. Have searched this bug tracker but have not come across anyone with a similar problem. Indeed from there descriptions of how fallback to the default language works for them I have been convinced it is only me who suffers this problem??

    I have "Blog posts to display" set to "All posts (display translation if it exists or posts in default language otherwise)." On my web site http://cmhike.com

    But for posts in the default language with no translation I am not seeing them in either :

    * archives
    * recent posts
    * category pages

    Have got my home page using a custom static page and I don't use the main blog page. The main blog page does display untranslated posts though in the default language as a fall back.

    Am using WPML on WordPress 3.0.1

    Thanks for all your hard work!


  2. chiangmaihiking
    Posted 5 years ago #

    Hi all,

    In case someone else finds this post, it seems that the behaviour I describe above is normal. The fallback to default language only works on your blogs front page. The code used to get the fallback to work is pretty complex and though I'm a competent php programmer would take me some time to work out how to get the fallback working for other areas. Also since there seem to be a lot of sql queries involved in generating the fall back pages it may be very inefficient unless using a cache.


  3. chiangmaihiking
    Posted 5 years ago #

    Anyone had any experience with qtranslate do they implement default language fallback on untranslated pages for areas apart from the front page?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP_Multilingual
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic