Skip to main content

Translating Llama Upsells content

Llama Support avatar
Written by Llama Support
Updated this week

Translation done using a Shopify app - Translate & Adapt.

Prerequisites

  • Install Translate & Adapt app from Shopify app store.

  • Add desired languages to start translating.


Translate Llama Upsell contents

From Translate & Adapt app choose a language to start translating.

  • From “Localized content” choose a language - e.g.( French)

  • Go to Store metadata section

  • There is an option to Translate Across Markets or Adapt for a specific Market

    • It is possible to set it up both according to your needs

  • After selecting the option, find metafields:

    • llama-translatable-cart.content - for Llama Cart

    • llama-translatable-campaigns.active - for Online store widgets

  • Translating Llama Cart and Campaign content:

    Accepted format for translating is JSON and steps to easily translate it:

    • Copy the “llama-translatable-cart.content”/”llama-translatable-campaigns.active” metafield’s content

    • Translate the content to desired language and insert it.

      Variables to identify which text is being translated:

      cartNotePlaceholder

      discountCodesLabel

      emptyCartMessage

      emptyCartAddToCartButtonLabel

      emptyCartAddingToCartButtonLabel

      emptyCartAddedToCartButtonLabel

      lineItemRemoveButtonLabel

      cartNoteRemainingCharacterLabel

      productFreeLabel

      Translated content should be inserted to a region under the language that it is being translated.


Llama Cart translatable content variables description:

Using these variable it is possible to translate the content and for every field there is a specific variable.

  • Rewards

    eligibleMessage - rewards message (e.g. - Congrats! You’ve unlocked free shipping!).

  • Messages

    message.value - custom message text

  • Cart Lines settings - cart title, cart note, empty cart message, etc.

    "cartTitle":- title of a cart → “Shopping Cart”.

    "cartNoteLabel":- cart note → “Add a note to your order”.

    "cartNotePlaceholder":- cart note placeholder text →"Comment for your order".

    "discountCodesLabel":- discount code button text → "Apply".

    "emptyCartMessage":- empty cart message text → “Your cart is empty. Start shopping…”

    "emptyCartCustomHTML": - custom html element for empty cart.

    "discountCodesPlaceholder":- placeholder text for promo codes → "Enter your discount code".

    "discountCodesShippingMessage":- informing message when shipping discount applied → "The shipping discount code will be applied at the checkout".

    "invalidDiscountCodeMessage":- invalid code message → "Enter a valid discount code".

    "alreadyAppliedDiscountCodeMessage":- message for duplicate or already applied discount codes "Discount code is already applied".

    "removableAtCheckoutDiscountCodeMessage":- discount removable at checkout message → "This discount code can be removed in checkout page",

    "limitReachedDiscountCodeMessage":- discount limit reached message → "Applied discount code has reached its usage limit.".

    "discountCodesTitle": - discount code title

    "discountCodesToggleLabel":- title for toggle discount input field → "Have a promotional code?",

    "enableSubscriptionBtnContent":- subscription message for subscription based products → "Upgrade to Subscription & Save ",

    "checkoutButtonLabel":- checkout button text which opens a checkout page : "Checkout",

    "viewCartButtonLabel":- view cart button text which opens a cart page: "View Cart".

    "lineBundlesToggleShowLabel":- message to show items count dynamically → "Show items".

    "lineBundlesToggleHideLabel":- message to show hidden items dynamically → "Hide items",

    "subtotalLabel":- a price subtotal label text → "Subtotal",

    "emptyCartAddToCartButtonLabel":- button text label for adding a product to a cart → "Add"

    "emptyCartAddingToCartButtonLabel":- button text label after clicking an add button → "Adding...".

    "emptyCartAddedToCartButtonLabel":-button text label after product added to the cart → "Added".

    "lineItemRemoveButtonLabel":- button text label for removing a product from a cart → "Remove".

    "cartNoteRemainingCharacterLabel":- a message for cart note informing character limit → "characters remaining",

    "productFreeLabel":- a label text for applied discount code → "Free"

    "collectionBtnLabel": - button text label for collection link → "Continue Shopping”.


Llama Upsell Widgets variables:

Online Store widget translatable variables:

"buttonAddedToCartText": Text shown on the button when an item has been successfully added to the cart. - "Added",

"buttonAddToCartText": Text on the button to add an item to the cart. - "Add", "removeButtonText": Text on the button to remove an item from the cart. - "Remove", "selectOptionsLabel": Label for the product variant selection dropdown. - "Variants", "title": General title field, often empty or contextual depending on use "displayMessageOnInvalid": Message shown when a customer has not met the requirements for a free gift. - "Spend another to include \"FREE GIFT\"",

"displayMessageOnProgress": Message indicating how much more a customer needs to spend to receive the free gift. - "Spend more to receive this gift!", "displayMessageOnValid": Message confirming the customer qualifies for the free gift. - "You are qualified to get a free gift"

"buyButtonText": Text shown on the button to finalize a purchase or add an upsell item. - "Buy",

"skipButtonText": Text shown on the button to skip an optional offer. - "Skip", "downsellDescription": Description text presenting a discounted complementary offer after the main purchase. - “Get this special deal to complement your order at a discounted price”.

"mainDescription": Main descriptive text encouraging additional purchases to round out an order. - “Add this favorite to round off your selection.",

"mainTitle": Primary headline encouraging upgrading the order. - “Upgrade Your Order!”

"downsellTitle": Headline promoting savings on the order via a downsell offer. - “Save More on Your Order!”

"timerMessage": count down for how much time is left for an offer or deal. - “Offer ends in {timer}”

"quickViewLabel": Label for a quick product preview feature. - "Quick view"

Did this answer your question?