Support » Plugin: Polylang » how to set a translation?

  • First I have to use pll_register_string, OK
    How do I set the translation in another language?

    The pll_save_term_translations function asks for an id and a language, but how can I set the translated text? And where does that id come from?

    The same question was asked one year ago, but not answered and closed.

    (I have a file with thousands of product translations and I want to use php to set them, and not manually in an admin page, lol)

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.