Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Remy B

    (@remyb92)

    Hey there,

    JSON value returned should already be translated, depending on the key. There is possibility to add Key you want to translate using filters.

    Can you provide an example of what is not translated ?? I’ll help

    Thread Starter Updula

    (@updula)

    I haven’t tested what would be returned from the REST API as there were no docs explaining if supported.

    Example if would to retrieve a product variations in default language
    GET https://example.com/wp-json/wc/v3/products/177/variations

    Request to translated response GET https://example.com/wp-json/wc/v3/products/177/variations?lang=fr

    Plugin Author Remy B

    (@remyb92)

    Hey, I just wanted to test if that worked ?

    Best

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘REST API Support’ is closed to new replies.