• Resolved williamwps

    (@williamwps)


    Hello,

    Could TranslatePress do have API for other app to access your translate?

    Ex: I have flutter for mobile and I don’t need to translate separately just fetch API from you plugin in than my mobile will have language as my site too.

    Thanks,

    • This topic was modified 1 year ago by williamwps.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Denis

    (@sdenis)

    Hello,

    Yes, TranslatePress does have an API that your app can use to access the translations. This is processed through the translation engine in TranslatePress. You can access it via the language prefix at your desired endpoint. For instance, to access translated posts, the endpoint would be /de/wp-json/wp/v2/posts (for German translations). This applies to every REST endpoint which is processed when accessed via the language prefix.

    I hope this answers your question.

    Thanks,

    Thread Starter williamwps

    (@williamwps)

    Hello,

    I have test your api endpoint url but it work only on wp post but how about the entire site translate?

    Ex: DomainName.com/product/product1

    How to get it?

    Thank you.

    Hello,

    is it possible to add translation using api? (via PUT method, or in another way?

    the site is: https://futureantiques.eu/

    Thank you

    • This reply was modified 9 months, 2 weeks ago by flyocean.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Feature Request] API’ is closed to new replies.