t() translation function over a fixed set of sources.
Resolution order, highest priority first:
externalT– host i18n (e.g. Shopify), unless it echoes the keydesignOverrides– live design-mode edits, flat dot-path keysmerchantOverrides– locale overrides from the API, nestedstaticContent– the theme’s default locale JSON- the key itself
merchantOverrides: a flat key like cart.title must override
exactly that leaf without wiping sibling keys (cart.subtitle), and a
per-key own-property lookup never builds nested objects from
merchant-controlled keys, so it cannot pollute Object.prototype.
Parameters
Returns
TranslateFunction