[FEATURE]: Provide variations values translation in inventory and properties #739
Replies: 3 comments
-
In your examples you are asking for French and are saying that "Bleu" is not translated. Yet that is the French version of "Blue" and "Transparent" is also the French translation (spelled the same in the masculine form). |
Beta Was this translation helpful? Give feedback.
-
The V3 OpenAPI does not use the We will work on adding a way to get the inventory translated. |
Beta Was this translation helpful? Give feedback.
-
We are moving this to the Ideas Discussion board because we are closing the issue board soon. We are still tracking on this request though. |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
Describe the bug
(it's close to #254 but not the same issue)
I worked with listing having variations, and using previous v2 version of api, I were able to get complete translations of a given listing: fr, en. especially variation property values.
If we focus on variations, the v2 getListing with "Variations" in includes, and with language: 'en'|'fr' allow us to retrieve
formatted_name
andformatted_value
in french or in english.By applying the same need with v3 API, first we need a new call because
Variations
is no supported by getListing (etsy/open-api#236) second it seems that the language parameter only apply onformatted_name
and not apply on `formatted_valueSteps to reproduce
V2: getListing en options:
{ language: 'en', translate_keywords:true, currency: "EUR", includes:"Variations" }
V2: getListing fr options:
{ language: 'fr', translate_keywords:true, currency: "EUR", includes:"Variations" }
v3
getListingInventory(listing_id, { language: 'fr' })
getListingInventory(listing_id, { language: 'en', translate_keywords:true})
Expected behavior
I expect values to be translated too.
Additional context
I also notice with this updates etsy/open-api#405 that
getListingVariationImages
also includeshopId
in url that may be removed too ? cc @etsyachristensenBeta Was this translation helpful? Give feedback.
All reactions