Just as an example, in the API Explorer, you’d be able to see that an unlocalized content field looks like this:
{
"results": [
{
"name": "blog article name",
"data": {
"localizedImage": "https://cdn.builder.io/api/v1/image/assets%2Fe37b966ec695434bb21e97442a4a9f46%2F04380702c8814b88af95b9efa5ffb063"
}
}
]
}
While the localized version looks like this:
{
"results": [
{
"id": "dccc48821a1648b0848861eada0c72ee",
"name": "blog article testing",
"data": {
"localizedImage": {
"@type": "@builder.io/core:LocalizedValue",
"Default": "https://cdn.builder.io/api/v1/image/assets%2Fe37b966ec695434bb21e97442a4a9f46%2Fa1daf58e0e944ae6abc1bf2c9fd1b885",
"en-CA": "https://cdn.builder.io/api/v1/image/assets%2Fe37b966ec695434bb21e97442a4a9f46%2F1d27bc748a1143808c9feefbe2dfe536",
"en-US": "https://cdn.builder.io/api/v1/image/assets%2Fe37b966ec695434bb21e97442a4a9f46%2Fa52c091476ff44eabb3da9dedb6948e1",
"es-US": "https://cdn.builder.io/api/v1/image/assets%2Fe37b966ec695434bb21e97442a4a9f46%2F04380702c8814b88af95b9efa5ffb063"
}
}
}
]
}
So you can make sure you build your new content object in the correct way…its a very helpful tool and I use it all the time when testing out things with our APIs!