See all services → Shopify Plus Partner
Platform Developer

Restore extension locale files dropped under the size cap

Shopify removed the 256 KB combined size limit on UI extension locale files. Translations you trimmed or languages you dropped to get a deploy through can go back in, with the 30 KB per-file limit still in place.

Executive summary

What changed

Previously the total size of everything in a UI extension's locales folder had to stay under 256 KB. An extension covering enough languages could hit that ceiling and fail to deploy, which left teams trimming translation strings, dropping a language, or splitting one extension into several to get a release out. That combined ceiling is gone.

Nothing else about localization changes. Locale files keep the same format, the same naming convention, and the same fallback behaviour. The change applies to every app with UI extensions on all API versions, existing extension versions keep working as they are, and new deploys are simply no longer measured against a combined total. If your extensions were comfortably under the old limit, this is a non-event for you.

Why it matters

For a merchant selling into twenty or more markets, checkout and customer account extensions are part of the localized buying experience, not an add-on to it. The old cap created a quiet quality tax. Teams dropped the languages with the smallest revenue contribution, shortened strings until they read awkwardly, or fragmented an extension purely for size reasons. Each of those is technical debt that surfaces as untranslated checkout copy in a market the merchant is actively spending to grow.

The practical value is that language coverage becomes a content decision again rather than a build constraint. The catch is that these compromises were almost never documented. Nobody writes a ticket saying the Danish strings were deleted to get a deploy through, so the gap persists long after the reason for it is gone. It is worth a deliberate audit against the markets you actually sell into, alongside the rest of your Shopify internationalization groundwork.

Role-specific impact

Use-case example

Real-world scenario

A Markets-heavy merchant sells into 23 markets requiring 18 languages, but its checkout UI extension shipped with only 11 locale files because adding the twelfth pushed the deploy over 256 KB. The seven missing locales silently fell back to English at the information and payment steps, which nobody noticed until a support ticket from a Nordic buyer. Restoring all 18 files took a single deploy, bringing extension locale coverage from 61 percent to 100 percent of the languages the store sells in. The team treated the checkout completion effect as a conversion test in the affected markets rather than assuming a lift.

Implementation checklist

  1. List the markets and languages the store actually sells into, from Markets configuration rather than from memory.
  2. Compare that list against the locale files present in each extension's locales folder.
  3. Search your git history for locale files deleted or truncated to fit the old 256 KB cap.
  4. Add the missing files back, keeping each one under the 30 KB per-file limit.
  5. Remove any build step that stripped or minified translation strings purely for size.
  6. Run shopify app deploy to release a new app version.
  7. Preview in a development store with the locale set to each restored language and verify the strings render.
  8. Reconsider any extension that was split only to fit the cap, since consolidating may now simplify your codebase.

FAQ

Q: Do we need to move to a newer API version to get this?

A: No. The change applies to all apps with UI extensions on every API version, and existing extension versions continue to work unchanged.

Q: Is there still any size limit on locale files?

A: Yes. Each individual locale file must stay under 30 KB. Only the combined ceiling across the locales folder has been removed.

Resources

Shopify dev docs: localized checkout UI extension locale files

Need guidance? Talk to Makro.