Skip to content

A small sample based on the EchoBot to demonstrate how to translate messages and detect language without using the Translation Middleware.

Notifications You must be signed in to change notification settings

malantin/BotBuilderTranslationService

Repository files navigation

An echo bot using a custom service class for translating user messages through the Microsoft Translator API

Sometimes you need translation capabilities in your bot but require a more granular control than the Translation Middleware offers. For example, you want to decide for each message you receive whether you want to translate the message or not. Or you might want to translate back just parts of your bot's messages to the user.

This sample example is built on the Echo bot template and shows how use a custom service class for detecting the input language and translating text.

Feel free to comment of contribute.

Releases

No releases published

Packages

No packages published