App Block extension locale file size limit

I have build number of app blocks and support multiple languages but facing an issue while deployment of my extension that is related to locale file size limit.
few of my locale file’s size is larger then 7 KB and when I tried to push the extension I got following error.
Can someone help me to avoid limit error?

Error:
┃ X [locales/hi.schema.json] file content size exceeds 7 KB limit, [locales/th.schema.json] file content size exceeds 7 KB limit

1 Like

I have exactly the same issue.

We are migrating our app to a theme-app-extension and all of our locale files are larger than 7 KB and therefore we cannot push them.

Is there a solution to bypass this limitation or is there an alternative way of doing it ?

Hey @roptch
Shopify has increased the limit for locale files from 7KB to 15KB :slightly_smiling_face: .

https://shopify.dev/apps/online-store/theme-app-extensions/extensions-framework#file-and-content-size-limits