AI Suggestions

Use the power of artificial intelligence to translate into any language.

Ilya Krukowski avatar
Written by Ilya Krukowski
Updated over a week ago

You might also be interested in learning about AI translations that enable you to translate keys in bulk and the AI-powered language quality assurance features.

Also make sure to check our free Lokalise AI course covering all AI-based features and providing best practices.

Lokalise AI is a fully automated localization assistant built on OpenAI’s ChatGPT API. It enables teams to deliver accurate translations instantly while reducing costs and without compromising quality. In this article you'll learn how to get started with this feature.


Currently, Lokalise AI provides the following features:

  • Translate with context — write a short description and provide context about the industry, project, goal, targeted tone, and length to get accurate translations that convey the right message.

  • Pick the best translation — choose the translation that best conveys their message from multiple variants.

  • Rephrase translations — rephrase translations in the editor.

  • Find the perfect fit — limit translation lengths to ensure fit without design change.

Performing translations

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

In the right side panel you'll see the Lokalise AI section. Click Translate with AI to get started:

After the button is clicked, artificial intelligence will generate a translation for you:

If the generated translation suits you, simply click on it to insert it into the editor.

Rephrasing translations

If the generated text does not look suitable, you can ask the AI assistant to rephrase it. To achieve that, click the Rephrase button:

The assistant will use the previously generated translation and rephrase it (in other words, it won't re-generate a new variant):

You'll be presented with the following buttons:

  • Approve — use the rephrased translation instead of the initial one. Then you'll be able to 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 (in other words, it won't generate a new variant):

Then, you'll be presented with the following buttons:

  • Approve — use the shortened translation instead of the initial one. Then you'll be able to 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:

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.

In many cases context is very important for producing an accurate translation. To give the AI assistant additional context, click the Add context button:

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

You'll be presented with the following dialog:

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

The AI assistant will generate a new translation variant:

You can either Approve it and use it instead of the initial translation, or discard it by clicking the Cancel button.

Suggestions by AI LQA

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

In the example above you can see one potential correction for the issue detected when running the AI LQA task.

Frequently asked questions

What features are available?

You will be able to use Lokalise AI to generate contextual translations directly in your editor, choose from several translation variants, rephrase and shorten your translations.

How does Lokalise AI translation work?

Lokalise AI uses Open AI models to assist with content translation. At Lokalise, we add an extra layer on top of OpenAI’s models to improve the precision and accuracy of your translations. For example, we give you the option to add context, like character limits, key descriptions, glossary terms, and style guides, which Lokalise AI takes into account to deliver terms and phrases that are more accurately translated.

What types of content can be translated using Lokalise AI?

Lokalise AI translation is incredibly versatile and can handle a wide range of content types, including websites, documents, emails, marketing materials, user-generated content, and more. It can adapt to different industries and content formats, making it the perfect solution for businesses aiming to reach global audiences.

What are the best use cases for generating translations with Lokalise AI?

Lokalise AI is able to generate any translations. However, it’s most accurate when it comes to shorter strings of text. If you have long-form content, we recommend using it as a pre-translation tool. We advise you to always revise translated content with linguists.

How accurate are Lokalise AI translations?

Lokalise AI translations can vary depending on factors like language pair and content complexity. But based on feedback from our customers, we can give you a ballpark estimation of around 80% accuracy. In most cases, you might just need to make minor changes for the remaining 20% to make it perfect for your specific needs.

Can Lokalise AI handle translations of highly specialized or technical content?

Absolutely! Lokalise AI can handle translations of highly specialized or technical content. Our AI models are trained to understand complex terminology, ensuring accurate translations even for the most specialized industries.

Which languages does Lokalise AI support?
AI suggestions supports an unlimited number of languages.

How will my data be used?

Using Lokalise AI the only data being processed is the original content being translated, its description, and context being provided. We’ll use the data for machine learning unless you explicitly withdraw your consent to do so. Machine learning is vital for us as it'll allow to introduce new AI-powered features and enhance the existing ones.

Is Lokalise AI translation secure and private?

Absolutely! We take the security and privacy of your data very seriously. Lokalise AI translation adheres to strict security protocols to safeguard your data and ensure compliance with data protection regulations. Our partnership with OpenAI means that we transfer data between Lokalise AI and OpenAI. But don't worry, OpenAI employs industry-standard encryption techniques to secure your data during transit and at rest. This means your data remains protected throughout its lifecycle. OpenAI also has a super secure infrastructure and complies with industry standards like ISO 27001, SOC 2 Type II, and GDPR (General Data Protection Regulation). They have a 30-day data retention policy, only for abuse and misuse monitoring, after which your data will be deleted from their systems. During this period your data is stored in OpenAI's highly secure systems. OpenAI won't store your data for training purposes unless you opt in.

Did this answer your question?