• Resolved maxmayr

    (@maxmayr)


    Is it possible to get the translation from the REST-API without installing the “Language by GET parameter Add-on”. I would love to use the translation in the url on the page and with GET parameter in the REST API.
    If I install “Language by GET parameter Add-on”-Plugin, it is only possible to use the get parameter on the page.

    Example: page.com/de/article1 page.com/en/article1

    Example REST: page.com/wp-json/wp/v2/posts/123?language=de page.com/wp-json/wp/v2/posts/123?language=en

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Translation in the Rest API’ is closed to new replies.