Creating translations for blog posts
Sep 30, 2020 2:11 PM
We're trying to programatically migrate a blog from a different platform into hubspot and cannot seem to figure out how to link translated blog posts to their original. We have a single blog with multiple languages, and tested using both the legacy and the new/beta API.
The documentation mentions a "language" field, but it appears to be discarded when we add it to the JSON of a post creation request. Attempting to create the translation will then fail because "the master post has no language".
We've also noted that the JSON model of a blog post changes significatively when we create a translation manually from the admin, but posting this new model directly also cause the extra fields to be ignored. I suspect there is much more to translations than what is documented.
Are we missing something obvious? Any hints on how should we proceed?