Providing a translation bot on your WordPress website using AI can help your users translate strings of text in other languages. You can make it publicly accessible or add it to a password-protected page

In this article, I will give you step-by-step instructions to add a French-to-Spanish translation AI chatbot. However these steps can be replicated in any other language be it English to Spanish, English to French, English to Chinese, or other language combinations.

The first step is to make sure you have installed and activated Sage AI Writer and have also added your OpenAI key.

Now navigate to Sage AI Writer and click on chatbots. Here you will get all the settings to build your French-to-Spanish translation bot.

Click on the plus ( + ) icon to add a new chatbot. You can add as many chatbots as you like.

After adding the chatbot, expand the main settings and set the chatbot name to French to Spanish.

Now add the following text under the context setting. ‘You will be provided with a sentence in French, and your task is to translate it into Spanish.’

Now under personalized settings write all the input text in French. This will encourage the user to type in French instead of English. You can write the instructions for the user under the welcome message.

If you would like to see all the conversations that happened with the chatbot then you can enable logs under Logs settings.

Once you have done the changes then click on the Update. This will save your settings in the database.

Now copy the shortcode of your chatbot and paste it into the page or post where you want to display it. If you want detailed information about all the settings that can be configured then check out our documentation for AI Chatbots.