Skip to main content

AI Suggestions

Generate AI-powered translations directly in the Lokalise editor.

Written by Ilya Krukowski

Note: This article describes how this feature works in Lokalise Expert. AI-powered tasks are also available in Lokalise Vantage, but the workflow differs. To learn more, see: Lokalise Vantage: Tasks.

AI Suggestions is built directly into the Lokalise translation editor, giving you instant, context-aware help on individual strings. With a single click, you can generate translations, rephrase or shorten text, and adapt output to your project needs — all without leaving Lokalise editor or creating separate tasks.

Make sure to explore AI translations to bulk translate keys and enhance your localization process with AI-powered language quality assurance features.

Introduction

AI Suggestions currently offers the following features:

  • Translate with context — provide additional information about your content, including where it's used, its purpose, and the intended audience, to help AI generate more suitable translations.

  • Choose from multiple variants — generate alternative translations and select the one that best fits your content.

  • Rephrase translations — adjust existing translations to better match the desired tone or style.

  • Shorten translations — generate shorter versions of translations to help meet character limits and interface constraints.


Performing translations

To get started with AI suggestions, open your project editor and click on any target translation.

In the right-side panel, you’ll see the AI section. Click Translate with AI to begin:

Once you click the button, the artificial intelligence will generate a translation for you. If the generated translation meets your needs, simply click on it to insert it into the editor.


Rephrasing translations

If the generated text doesn’t seem suitable, you can ask the AI assistant to rephrase it. To do this, simply click the Rephrase button:

The assistant will take the previously generated translation and rephrase it (it won’t generate a completely new variant):

You’ll then be presented with the following options:

  • Approve — use the rephrased translation instead of the initial one. You can then click on the saved translation to insert it into the editor.

  • Try again — ask the assistant to produce another version.

  • Cancel — discard the rephrased translation.


Shortening translations

If you have a strict character limit, you can ask the AI assistant to shorten the translation by clicking Shorten:

The AI will use the existing translation and shorten it (it won’t generate a completely new variant):

You’ll then be presented with the following options:

  • Approve — use the shortened translation instead of the initial one. You can then click on the saved translation to insert it into the editor.

  • Try again — ask the assistant to produce another version.

  • Cancel — discard the shortened translation.


Generating additional translation variants

If you’d like to view multiple translation options to choose from, simply click Suggest variants:

The AI assistant will generate a few additional variants for you:

View image

Choose the variant that suits you by clicking Approve, or discard all the newly generated translations by clicking Cancel all.


Providing translation context

Lokalise automatically includes the key description as translation context when available. However, context provided through Add context takes priority over the key description.

AI Suggestions can also use relevant glossary entries and applicable style guide instructions to help maintain consistent terminology and writing style.

In many cases, context is crucial for producing an accurate translation. To provide the AI assistant with additional context, click the Add context button:

If you’ve previously provided context for the current translation key, this button will be labeled Edit context.

You’ll be presented with the following dialog:

Here, you can explain where and how the translation will appear in your content, the desired tone, your industry, and the approximate length. Once you're ready, click Translate.

The AI assistant will generate a new translation variant. You can either Approve it to use it instead of the initial translation or discard it by clicking Cancel.


Suggestions by AI LQA

After the AI-powered language quality assurance task is completed, possible corrections will be displayed in the AI Suggestions side panel:

In the example above, you can see one potential correction for an issue detected during the AI LQA task.


Frequently asked questions

💡 Looking for more?
Find all answers in AI: Frequently asked questions!

Did this answer your question?