Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

    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.

    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?

    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.

    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?

    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)

    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

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