• Resolved Masselyn

    (@masselyn)


    Hi: I have a client site using TranslatePress to translate the content between English and Spanish. We have a feed coming from an external site on the homepage and I can not figure out (or find documentation about this) how to get my homepage to show the English feed when viewing domain.com/en versus showing the Spanish feed when viewing domain.com/es. Is this something I can do through Translate or should I be using something else to handle this task?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    RSS feeds are not translatable, we don’t have support for.

    I’m not an expert on this, but you can have a look at the WordPress json API, if you think it helps you: https://developer.www.ads-software.com/rest-api/using-the-rest-api/
    Simply append the language parameter in front of it and you should get the translated version of the content: /en/wp/v2/posts

    Thread Starter Masselyn

    (@masselyn)

    Hi:

    Thanks for the quick response. I do have two RSS feeds for the site I am pulling from (English + Spanish) but I couldn’t figure out how to get the proper one to show on the homepage. I realized there is a setting (using Elementor) that allows me to show a certain widget (RSS) based on what language the site is currently in. That worked perfectly, I can show one feed when the site is in Spanish and the other feed when the site is in English. All worked out!!

    Thanks again and sorry if my original question did not clearly explain my dilemma!!

    Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    Glad to hear it worked like this.
    Also, thank you for your let us know how you managed it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show specific RSS feed on homepage’ is closed to new replies.