Support » Plugin: Polylang » How to change strings according to language

  • Good afternoon

    I am thinking to change Qtranslate-X for Polylang in a website I am working on.
    I tried to find the topic but I was not able. In Qtranslate I use in some string or html the following structure to differentiate the language: [:en] Hello [:de] Hallo [:].
    Is there something similar in Polylang?

    Thank you so much in advance
    Marcela

Viewing 3 replies - 1 through 3 (of 3 total)
  • same here

    Plugin Author Chouby

    (@chouby)

    Hi,

    As you mentioned yoursel, this is the way qTranslate-X works. This is not the way Polylang works and it’s unlikely that it supports such thing in the future. In Polylang translations are never stored in the same place as the original content.
    If your content is in a custom post or custom term, you need to activate the translation of the associated custom post type or custom taxonomy. If your content is in an option, you need to declare this option as translatable. This is usually done thanks to wpml-config.xml file.

    Thread Starter mcaso

    (@mcaso)

    Thank you. I will try it and in case I need it I will be back to you.

    Thanks again

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change strings according to language’ is closed to new replies.