• Hello, I’ve got a problem with untranslated content. I have 3 languages – English (default), Spanish and German. Some pages have no translation in German, so I can see the content in default English language. The url is still domain.com/de/post-name, but it displays content equal to domain.com/post-name…
    It is normal, but rel=”canonical” as I can see displays “de” page, but not the default on.
    How can I fix this?

    https://ww.wp.xz.cn/plugins/qtranslate-x/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Gunu

    (@grafcom)

    @sufius,

    how are your settings under – Settings – Languages – General Settings

    Hide Content which is not available for the selected language.

    Show displayed language prefix when content is not available for the selected language.

    Hide URL language information for default language.

    Thread Starter Sufius

    (@sufius)

    Hide Content which is not available for the selected language. – Unchecked
    Show displayed language prefix when content is not available for the selected language. – Checked
    Hide URL language information for default language. – Checked

    Plugin Author Gunu

    (@grafcom)

    @sufius,

    I’m not sure I understand you correctly but, try Show displayed language prefix when content is not available for the selected language. – Unchecked

    Thread Starter Sufius

    (@sufius)

    It doesn’t work… Well is there any function for checking availability of translation?
    I want to create canonical link manually. If there is translation of the page – canonical will be current post (domain.com/de/post). If there is no translation and I display post in default language, the canonical will be to the (domain.com/post)

    Plugin Author Gunu

    (@grafcom)

    Hide Content which is not available for the selected language. – Checked

    Thread Starter Sufius

    (@sufius)

    No effect… It always dasiplays <link rel=’canonical’ href=’http://domain.com/LANG/postname&#8217; /> where LANG is current user language…
    Is there any function for checking availability of translation?

    Plugin Author Gunu

    (@grafcom)

    Try delete cache and cookies, for a fresh approach to website.

    Or is this maybe what you are looking for?

    In Menu page = postname

    Fill in Navigation Label for English with Name, Navigation Label for Spanish with Name and Navigation Label for German (no translation) leave empty

    Thread Starter Sufius

    (@sufius)

    Well… everything changes )
    Re-installed…
    So… The task is:
    I have post in English, but no translation in Spanish.
    when I go to domain.com/es/post-name I get Title in English (this is good), but instead english content I get only “Not Available Message” for spanish… this is bad 🙂
    So I want to get English content on post domain.com/es/post-name and rel=’canonical’ to domain.com/post-name
    )

    PS. I set Hide Content which is not available for the selected language. to unchecked, because with this option user can’t get even untranslated content.

    Plugin Author Gunu

    (@grafcom)

    I think qTranslate X it is not designed in this way.

    Thread Starter Sufius

    (@sufius)

    Hm… well, I’ll try to change the code. )
    Can you tell me is there any function for checking availability of translation?

    Plugin Author Gunu

    (@grafcom)

    If a visitor visits you site and want to see it in Spanish why should he come on a page that is not translated?

    why not hide that page in the menu.

    On your way, he would be returned to the English language that seems to me to very user unfriendly.

    Can you tell me is there any function for checking availability of translation?

    only Hide Content which is not available for the selected language

    Thread Starter Sufius

    (@sufius)

    In general settings I have “Show displayed language prefix when content is not available for the selected language.” so I want to use this.

    Just imagine. A visitor from Spain comes to a site with movie trailers. He must see all posts, but if there is no info in Spanish he can find a movie in English. Now user can see all posts but some of them not translated, so there is “(English)” before the title. When he enters the page he sees only english title, but no content.
    I think it is better to show him international content than nothing at all.

    Plugin Author Gunu

    (@grafcom)

    why not put also the English content into the Spanish page if there is anyway no translation at all?

    Thread Starter Sufius

    (@sufius)

    This is a solution, but the problem will be with <link rel=’canonical’ href=’http://domain.com/LANG/postname&#8217; /> two different URI with same content…
    Hm… but I can use a custom field to rewrite link… this is an idea, I’ll try

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

The topic ‘Untranslated content’ is closed to new replies.