Template catalog


Multi language chatbot using Globals section to host all the translations in JSON

Multi language chatbot using Globals section to host all the translations in JSON

image describing the tiledesk community chatbot

Customize this template quickly & easily with Tiledesk

Designed by

logo of the author of the chatbot published in the tiledesk community

Andrea Sponziello

Published on

22/1/2024

Last update on

22/1/2024

Share this template to:

Try the Chatbot

More about this template

Multi language chatbot using Globals section to host all the translations in JSON format.


Create a JSON object with translations hosted in Globals section of the chatbot.



The should have a structure like the following (keep in mind that this is only a suggested structure, you're free to implement the JSON object that best fits your needs):

{
    "en": {
        "welcome": "Welcome",
        "support_button": "Support",
        "sales_button": "Sales",
        "welcome_support": "Welcome to support",
        "welcome_sales": "Welcome to sales",
        "fallback_message": "I didn't understand"
    },
    "it": {
        "welcome": "Welcome IT",
        "support_button": "Support IT",
        "sales_button": "Sales IT",
        "welcome_support": "Welcome to support IT",
        "welcome_sales": "Welcome to sales IT",
        "fallback_message": "Non ho capito"
    },
    "es": {
        "welcome": "Welcome ES",
        "support_button": "Support ES",
        "sales_button": "Sales ES",
        "welcome_support": "Welcome to support ES",
        "welcome_sales": "Welcome to sales ES",
        "fallback_message": "No entendía"
    }
}

Import and enjoy the simplicity!

Tags

    #multi language

    #i18n

    #transaltion

Integrations

Once designed, you can run your unlimited no-code chatbots on every communication channel of your choosing. Be it WhatsApp, Telegram or Facebook Messenger. With no further clicks or actions.