Which property should I use, request.locale.iso_code or shop.locale? What is the difference between the two, and is the shop.locale property deprecated?
key difference between request.locale.iso_code and shop.locale is that the former represents the customer’s current language preference, while the latter represents the default language setting of the shop.
1 Like