• Resolved timbows

    (@timbows)


    Hey Everyone,

    Is it possible to tell the REST API which language you want the requested information?

    At first glance, you only get the information in the default language

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Magazine3

    (@magazine3)

    Hi, thank you for reaching out to us. Yes, the WP Multilang plugin is already compatible with the REST API. To access this correctly, kindly pass the parameter ‘lang‘. For example, you can use this URL format: https://xyz-host.com/wp-json/wp/v2/posts/?lang=hi. This way, you can pass the parameter and make a request to gather the information as you wanted.

Viewing 1 replies (of 1 total)
  • The topic ‘Using Rest’ is closed to new replies.