Viewing 1 replies (of 1 total)
  • Hello,

    The rest-api is processed through the translation engine in TranslatePress. So you can access it at /de/wp-json/wp/v2/posts for example. Basically every REST endpoint is processed when accessed via the language prefix.

    See if this works for your custom api as well if not, reverse back to the default one that WordPress is offering.

    (you can extend the logic to that one instead of creating a new one from scratch that does the same; as it will not be supported by all the plugins or, you need to add custom support for each).

    Cheers,

Viewing 1 replies (of 1 total)
  • The topic ‘Getting translate article by id’ is closed to new replies.