{
  "id": 88629,
  "title": "One locale code silently killed 92% of a Magento Shopware migration — and the tool reported Done",
  "url": "https://urgent.news/2026/08/03/one-locale-code-silently-killed-92-of-a-magento-shopware-migration",
  "topic": "world",
  "section": "World",
  "published": "2026-08-03T14:40:21.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/yuriydne/one-locale-code-silently-killed-92-of-a-magento-shopware-migration-and-the-tool-reported-done-4l6j"
  },
  "original_language": "en",
  "account": "On a Magento Shopware migration, a seemingly innocuous issue caused the failure of 92% of the store. Out of 13,154 orders and 6,960 customers, only one order and eight customers made the transition. The target database held 2,313 products, but Shopware's Migration Assistant reported the migration as successful. The issue stemmed from a single string that the tool overlooked, turning Magento's Chinese locale (zh_Hans_CN) into Shopware's zh-Hans-CN. This mismatch led to a cascade of failures, with the lack of fallback in the converter causing locale entities to be not found, ultimately failing to create sales channels due to missing language IDs. This problem affects any Magento store with Chinese store views or locales containing script subtags, such as sr_Latn_* , az_Latn_* , and uz_Latn_*. To avoid this issue, a patch should be applied to the converter's fallback or pre-created locale rows should be added with the exact codes emitted by the converter.",
  "summary": "13,154 orders in. 1 order out. The source was an anonymised copy of a real Magento CE store: 3 websites, 13 store views, 7 languages including Simplified and Traditional Chinese, 7,629 products, 6,960 customers. Shopware's Migration Assistant ran every step green and finished with \"The Migration is done\". The target database held one order, eight customers and 2,313 products. Orders took the…",
  "key_points": [
    "92% of Magento Shopware migration failed",
    "Locale code mismatch caused by tool",
    "Patch needed to prevent similar issues"
  ],
  "editors_take": "A minor locale code mismatch can fatally undermine a Magento Shopware migration for stores with certain language settings, requiring a patch or workaround to avoid a similar failure.",
  "illustration": "https://urgent.news/ill/88629.png",
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}