Skip to content

Feature/bracket #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ By the way, {{temp.delegation.0.botId}} is telling you:
```

:::tip
The reason we use triple mustaches (`{{{ ... }}}`) is to prevent Botpress from escaping the special characters found in the variables.
The reason we use triple braket (`{{{ ... }}}`) is to prevent Botpress from escaping the special characters found in the variables.
:::

## Conclusion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,18 @@ The text content type denotes a regular text message with optional typing indica

You can write HTML in the text content on the web channel, and your chatbot will render it correctly. This opens up the possibility of including iFrames and constructing miniature web pages (commonly known as web views) in your content without creating custom components.

:::tip
The reason we use triple bracket (`{{{ ... }}}`) is to prevent Botpress from escaping the special characters.

For example

```
{{{https://example.com}}}
```

will not be escaped
:::

### Video

The video content type presents a message showing a video file with an optional title. You can either upload the video or link to a video file that will be fetched when the content element is invoked. When loading a video from a variable url, you may need to use triple braces to unescape the url i.e., ```{{{temp.videoUrl}}}```.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,11 @@ With the Enterprise License, you can easily work with the built-in translation f
1. In the Admin section, click **Bots**.
2. Click the **Config** button next to the selected bot.
3. In the **General** section:
<<<<<<< HEAD
1. Under **Default language**, use the dropdown menu to select the desired default language which is gonna be used in the interface.
2. Under **Supported languages**, with the dropdown menu or by writing it in the box, choose the languages you need.
:::note
The **Supported languages** section appears only when you enable the [Enterprise Licensing](/enterprise/licensing/enterprise-licensing).
:::
=======
1. Under **Default language**, use the dropdown menu to select the desired default language which is gonna be used in the interface.
2. Under **Supported languages**, with the dropdown menu or by writing it in the box, choose the languages you need.
>>>>>>> 3db29d3ee0b6679a65ced6320d0f4c7dc9f457bc
:::note
The **Supported languages** section appears only when you enable the [Enterprise Licensing](/enterprise/licensing/enterprise-licensing).
:::
4. Click **Save Changes**.

![Bot Config](/assets/i18n-configs.png)
Expand Down