Hi there,
Rich here from the product team. Yes you can - more info here:
https://shopify.dev/api/liquid/objects#request-locale - you can use this to determine the locale the customer has selected / been directed to.
Detecting the customer’s selected store language in Shopify to conditionally show different messages when using the Translate & Adapt app.
Context: The requester previously relied on parsing the URL/pathname to infer language and asked for a newer Liquid-based approach.
Latest update: A Shopify staff member confirms you can detect the current locale via Liquid’s request.locale object and provides official documentation (shopify.dev) as the reference.
Practical use: Theme code can branch on request.locale to determine the language the customer selected or was directed to, avoiding brittle URL checks.
Outcome: Clear path forward—use request.locale. No code snippets were shared in-thread; the linked documentation is central for implementation details.
Status: Resolved with an authoritative answer and resource link; no further questions or disagreements noted.
Hi there,
Rich here from the product team. Yes you can - more info here:
https://shopify.dev/api/liquid/objects#request-locale - you can use this to determine the locale the customer has selected / been directed to.