Chat Layout UI: Translation Use Case

Introduction

The Translation Interface brings a familiar, intuitive experience to users by mimicking the layout and functionality of common translation tools available on the internet.

This feature is designed to optimize translation workflows by providing a focused, single-interaction interface. Unlike the original Chat Interface, which supports extended conversations with multiple messages exchanged between the user and the Assistant, the Translation Interface is purpose-built for one-to-one interactions. Each translation request generates a new chat session, ensuring clarity and efficiency in every interaction.

Another key difference from the Chat Interface is the delivery of responses. Instead of streaming responses incrementally, the Translation Interface delivers the entire translated output synchronously, providing a stable and predictable experience.

This interface is ideal for users who need to perform frequent text translations as part of their daily tasks.

Getting Started

Enabling the Interface

  1. Visit the Space Management feature (/admin/space).

  2. Select an existing Space or create a new Space.

  3. In the “AI Assistant” section, select the “Translation One to One” module. Selecting this module will automatically configure the Space to display the Translation Interface.

For more info on space management: Space Management Interface

The “Translation One to One” module is standalone. This means once enabled, only this module can be used.

Switching Between Interfaces

  1. Visit the Space Management feature (/admin/space).

  2. Select an existing Space or create a new Space.

  3. In the “Advanced Settings” section, click the pencil icon button.

  4. The userInterface property should be “CHAT”. Update it to “TRANSLATION”.

Spaces which were created before the release of this feature does not have the userInterface property displayed in the configuration modal. Simply add it manually.

Screenshot 2024-08-05 at 09.57.06.png

Feature Overview

Interface Layout

Screenshot 2024-08-20 at 16.37.54.png
  • The input field is on the left for the source text, and the output box is on the right for the translated text.

  • A dropdown selection is available above the output box to specify the language into which the text should be translated.

Key Functionalities

  • Automatic language detection. There is no need to specify the language of the text to be translated.

  • Customizable pre and post-processing: The text can be pre-processed with a pre-defined glossary to have a consistent translation of your choice of words in the target language. Similarly, the text post translation can also be customized (eg. to convert from American to British spellings).

 

How to Use (End-User)

Prerequisite

  • You are a member of Space which has the userInterface setting configured to “Translation”.

Steps

  1. Enter the text to be translated in the left column input box.

  2. Select the language you want to translate the text to.

  3. Click on the “Translate to [language]” button.

  4. View the translated text on the right column output box.

 


Author

@Jovana Sanussi

 

© 2024 Unique AG. All rights reserved. Privacy PolicyTerms of Service