JS SDK: Inline Component

Locale language for the UI component that appears on an inline offer.

Given the specified locale object below, Evy's JS SDK would display the following UI components.

{
        "object": "locale",
        "evy_logo_url": "https://static.evy.eu/images/evy_logo_modal_header.svg",
        "learn_more": {
            "title": "Learn more",
            "preamble": "Protect your purchase with",
            "modal_content": "Product protection plans designed for busy people who need real-life issues handled seamlessly.",
            "preamble_evy_icon": "https://static.evy.eu/images/evy_logo_learn_more.svg"
        },
        "offer_buttons": {
            "checkbox_singular": "1 year accidental damage protection for %1$s",
            "checkbox_plural": "%1$s years accidental damage protection for %2$s",
            "term_singular": "%s year",
            "term_plural": "%s years",
            "multiline": "Protection plan"
        },
        "title": "Protect your purchase with Evy",
        "coverage": {
            "title": "Your protection plan includes:",
            "items": [
                "Accidental damage from handling",
                "Coverage for malfunctions",
                "Fast replacements with free shipping"
            ],
            "details": "Learn more",
            "details_url": "https://evy.eu/doc.pdf"
        },
        "action_buttons": {
            "accept": "Add product protection",
            "decline": "No thanks",
            "close": "Close",
            "remove": "Delete"
        },
        "footer": {
            "title": "Why choose Evy?",
            "items": [
                {
                    "title": "Simple",
                    "description": "Receipt-free and confusion-free",
                    "icon": "https://static.evy.eu/images/footer_items_one.svg"
                },
                {
                    "title": "Fast",
                    "description": "Fast online claims 24/7",
                    "icon": "https://static.evy.eu/images/footer_items_three.svg"
                },
                {
                    "title": "Reliable",
                    "description": "Comprehensive coverage",
                    "icon": "https://static.evy.eu/images/footer_items_two.svg"
                }
            ]
        },
        "attached_offer": {
            "title": "PROTECTION EVY",
            "legal": "By placing an order you confirm you have read our terms and conditions and the insurance product information document. You can cancel this insurance contract within 14 calendar days.",
            "details": "Evy Extended warranty protection"
        }