Dynamic Zone data not coming under default locale's localizations key

System Information
  • Strapi Version: v4.3.8
  • Operating System: MacOS Monterey v12.4
  • Database: SQL Lite
  • Node Version: 16.20
  • NPM Version: 8.11

that means you are not populating the data correctly most likely

@Boegie19, I’m using internalization and dynamic components and when I’m putting the content under another locale dynamic component and populating the API then under the default locale, I’m getting localization array as you can see in the screenshot but I’m not getting the dynamic component key under the localizations array.
But when I populate the locale on the basis of id then I’m getting the dynamic component but I need dynamic component key under the localization array.

The key is the content type in __component + the id of the record.
that gives your the component by id