Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Personalization Dictionary

The Personalization dictionary contains all user-facing text, labels, and messages displayed by this drop-in. By customizing the dictionary, you can:

  • Localize the drop-in for different languages and regions
  • Customize labels and messages to match your brand voice
  • Override default text without modifying the drop-in’s source code

Dictionaries use the i18n (internationalization) pattern, where each text string is identified by a unique key path.

Version: 1.0.1

Default keys and values

Below are the default English (en_US) strings provided by the Personalization drop-in (1 keys):

{
"": {}
}

How to customize

To override these values for your storefront:

  1. Create a custom dictionary file in your project (for example, config/en_US.json)
  2. Copy the keys you want to customize from the default dictionary above
  3. Modify the values to match your requirements
  4. Load your custom dictionary during drop-in initialization