{"section":"known-issues","requestedLocale":"en","requestedSlug":"checkout-doesnt-consider-locale-to-translate-api-errors","locale":"en","slug":"checkout-doesnt-consider-locale-to-translate-api-errors","path":"docs/en/known-issues/Checkout/checkout-doesnt-consider-locale-to-translate-api-errors.md","branch":"main","content":"## Summary\n\n\nThe system looks for the language set in `clientPreferencesData.locale` to translate the checkout pages. The errors returned in the API aren't translated if the sales channel related to the language is not sent as a parameter in the API request.\n\n\n#### Simulation\n\n\nIn a store with a multi-language configuration, access the checkout using a locale different from the main sales channel.\nForce an error such as adding more quantity of an item as it has for inventory.\nA pop-up error will be shown not translated for the chosen locale.\n\n\n#### Workaround\n\n\nSend the sales channel related to the chosen locale as a parameter for all API requests in the checkout UI."}