Skip to content

Translations

Every piece of text the widget prints can be edited on the Translation tab. The tab is organised into cards, each card grouping closely related snippets, and every field is a Shopware snippet field — meaning you can override it per language (per Shopware snippet set) without touching code.

Long (Monday, Tuesday, …) — used by date formats like l, j F (“Wednesday, 2 October”).

Short (Mon, Tue, …) — used by date formats like D, jS M (“Wed, 2nd Oct”) and by the message default (“ships Mon”).

Snippet keys: P2LabEstimatedDelivery.widget.global.mondaysunday (long) and monsun (short).

Same idea — JanuaryDecember for F, and JanDec for M.

Snippet keys: januarydecember (long), jan_shdec_sh (short).

The Steps and Message widgets can substitute date placeholders with friendly relative labels:

SnippetDefaultUsed when
todaytodayShipping date is today
tomorrowtomorrowShipping date is tomorrow
for_x_daysfor %xDays% daysCountdown spans multiple days
SnippetDefault
dayday
daysdays
hourhour
hourshours
minuteminute
minutesminutes
secondsecond
secondsseconds

These power the %transDays%, %transHours%, %transMinutes%, %transSeconds% placeholders — they are auto-pluralised based on the numeric value next to them.

SnippetDefault
message.text<strong>🕖Cut-Off Time:</strong> %cutoffTime%, ships %shippingMinDateName% %tooltip%
tooltip.textDoes not apply to holidays

The message can be plain text, HTML, or contain any of the snippet variables.

SnippetDefault
clock.orderInTheNextOrder in the next
clock.orderInTheNextWithDaysOrder in the next %days% %transDays% and
clock.forDispatchfor dispatch
clock.forDispatchDate%shippingMinDate%

Each of the three steps has its own title and date snippet:

SnippetDefault
steps.step1.titleOrder
steps.step1.date%todayDate%
steps.step2.titleShipping
steps.step2.date%shippingMinDate%
steps.step3.titleEstimated Delivery
steps.step3.date%deliveryMinDate% - %deliveryMaxDate%

The snippet field component on the page edits one snippet set at a time — the one selected at the top of the Shopware admin. To translate the widget for a new language:

  1. Add the language to the Sales channel → Languages assignment so the language is active on the storefront.
  2. Switch the admin’s language to that language using the global language picker.
  3. Open the Translation tab and edit each snippet — the values you save are stored against that language’s snippet set.

Snippets that you haven’t customised fall back to the plugin’s built-in translations (en-GB and de-DE).

A snippet field is not the same as a regular configuration field:

  • A regular config field stores a value per sales channel.
  • A snippet field stores a value per language (snippet set), independent of sales channel.

This means that two sales channels in the same language will share the same widget text, but two sales channels in different languages can have different text — which is almost always what you want.