For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cookies

Here is the list of cookies that visitors may encounter if Weglot is running on your site.

Javascript & Proxy integrations

All these cookies are set on your main and translated hostnames.

Name
Type
Storage type
Purpose
Duration

wg-translations

Necessary

local storage

store translations

indefinitely

wg-slugs

Necessary

local storage

store translated URLs

indefinitely

WG_CHOOSE_ORIGINAL

Necessary

cookie

when original language is selected with auto switch option enabled

1 month

wglang

Preferences

cookie

contains user language code preference

session

Shopify only:

Name
Type
Storage type
Purpose
Duration

wg_checkout_language

Necessary

cookie

to restore current language when user comes back from checkout

session

wg-cart-update-token

Necessary

cookie

to know when cart changed to update lang attribute

session

wg-cart-update-lang

Necessary

cookie

to know when cart changed to update lang attribute

session

Last updated