Support » Plugin: TranslatePress - Translate Multilingual sites » Change url on links

  • Resolved Johannes

    (@fumow)


    Hi,

    We have a download link in a text that links to PDF files in different languages. I was wondering how I can change the url of that link in the second language, so it downloads the correct PDF file?

    Thanks,
    Johannes

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found this shortcode

    [trp_language language="en_US"] English content only [/trp_language]

    Is this the only way to use different links in different languages?

    • This reply was modified 11 months, 3 weeks ago by Johannes.
    Plugin Author Razvan Mocanu

    (@razvanmo-1)

    Hi,

    You can try using the option Force language in custom links from TranslatePress -> Settings.

    If it doesn’t work for your case, then the shortcode may be the easiest way to go.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change url on links’ is closed to new replies.