Shopify / ui-extensions

MIT License
267 stars 36 forks source link

Current concept of extensions localization is broken #2172

Open jun-shop opened 3 months ago

jun-shop commented 3 months ago

Discussed in https://github.com/Shopify/ui-extensions/discussions/1423

Originally posted by **patryk-smc** October 5, 2023 Themes and email notifications in Shopify offer the flexibility for merchants to customize their content. Although Shopify provides defaults for many languages, merchants can override them based on their preferences and brand language. However, this customization is not possible for Checkout Extensions. As app developers, we are required to provide content for all languages, without allowing merchants to personalize it according to their needs. Currently, we utilize a translation service to support 24 languages, which may not be perfect for everyone. To address this issue, my suggestion is to allow merchants to edit UI extensions locales, just like they can edit theme content. This would prevent situations where merchant A requests a copy change, and merchant B from the same country requires a different alteration. By making this change, we can improve the user experience and tailor to merchant preferences.
bakura10 commented 3 months ago

I would like to add that app blocks have the same issues. App developers can create locale files, but merchants can't edit them. Sometimes merchants want to adapt the wording to better match their brand.

Both checkout UI extensions and app blocks locales should be overridable by merchants the same way theme content can.

kinngh commented 4 days ago

+1 on this^