To integrate Weglot with Store Pickup + Delivery, add this piece of code to Snippets/storepickup-addons.liquid:
<script> if (typeof Weglot !== "undefined" && Weglot.initialized === true) { Zapiet.Helpers.getCheckoutLocaleCode = function (params) { return Weglot.getCurrentLang(); }; } </script>
This will make sure our app loads the correct language in the checkout.