The shipping range value.
The translated label, or the raw value if unrecognized.
shippingLabel("worldwide"); // => "Worldwide" (en) / "Ogólnoświatowa" (pl)
export function shippingLabel(range: string): string {
return isShippingRange(range) ? i18n(`shipping_${range}`) : range;
}
Localized label for a supplier ShippingRange (worldwide/international/ domestic/local). Falls back to the raw value for anything outside the known set.