How to set Translations

Introduction

Translations are supported for all product types, where both the name and description can be set with a translated value. Additionally, category names and descriptions can be translated.

Format

Within "nameTranslations" and "descriptionTranslations" objects, specified language tags can be set as a key with the value the translated content.

Language Tags

See all language tags supported via the link below;

Examples

Below are examples of product translations and category translation;

{
  "products": [
    {
      "productType": 1,
      "plu": "MEAT-02",
      "price": 200,
      "name": "Chicken",
      "nameTranslations": {
        "ar": "دجاج",
        "en": "Chicken",
        "es": "Pollo",
        "nl": "Kip"
      },
      "description": "Grilled chicken",
      "descriptionTranslations": {
        "ar": "دجاج مشوي",
        "en": "Grilled chicken.",
        "es": "Pollo asado.",
        "nl": "Gegrilde kip."
      }
    }
  ]
}
{
  "categories": [
    {
      "posCategoryId": "B2",
      "name": "Burgers",
      "nameTranslations": {
        "ar": "برجر",
        "pt": "Hambúrgueres",
        "es": "Hamburguesas",
        "zh": "汉堡"
      },
      "description": "Our Burgers are made with 100% all-natural Angus beef, responsibly raised and cooked to order",
      "descriptionTranslations": {
        "ar": "برجراتنا مصنوعة من لحم أنجوس طبيعي 100%، تم تربيتها بمسؤولية ويتم طهيها حسب الطلب",
        "pt": "Nossos hambúrgueres são feitos com 100% de carne Angus totalmente natural, criada de forma responsável e cozida a pedido",
        "es": "Nuestras hamburguesas están hechas con carne Angus 100% natural, criada de manera responsable y cocinada a pedido",
        "zh": "我们的汉堡采用100%天然安格斯牛肉制作,经过负责任的养殖,并按订单烹制"
      }
    }
  ]
}

See related guides

Did this page help you?