In the older createCheckout API, it was possible to set the display language of the checkout URL using @inContext(language: ES). However, when using the latest cartCreate API, the checkout URL returned doesn’t reflect a specific language setting.
Currently, I’m appending a ?locale=us parameter to the URL, but this method doesn’t work for all languages—for example, ?locale=zh doesn’t display the checkout page in Chinese.
Is there a proper way to set the display language for the checkout URL when using the new cartCreate API?