Lokalise AI is a fully automated localization assistant powered by OpenAI’s ChatGPT API. It allows teams to deliver accurate translations instantly, reducing costs while maintaining high-quality standards. In this article, you'll learn how to get started with this powerful feature.
Make sure to explore AI translations to bulk translate keys and enhance your localization process with AI-powered language quality assurance features.
Also check out our free Lokalise AI course, which covers all AI-based features and offers best practices for getting the most out of them.
Introduction
Lokalise AI currently offers the following features:
Translate with context — write a short description and provide context about the industry, project, goal, targeted tone, and length to receive accurate translations that convey the intended message.
Pick the best translation — choose the translation that best fits your needs from multiple variants, ensuring the message is conveyed effectively.
Rephrase translations — easily rephrase translations directly within the editor to better match the desired tone or style.
Find the perfect fit — limit translation lengths to ensure they fit within design constraints without requiring layout changes.
Performing translations
To get started with Lokalise AI, open your project editor and click on any target translation.
In the right-side panel, you’ll see the Lokalise 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 — aAsk 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.
The AI will also respect your project glossary and use its entries when applicable.
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
What context is used for AI suggestions?
The AI uses the following context:
Key description
Translation context provided by the user (via the Add context button)
Project glossary entries when applicable
What features are available?
Lokalise AI allows you to:
Generate contextual translations directly in your editor
Choose from multiple translation variants
Rephrase and shorten your translations
How does Lokalise AI translation work?
Lokalise AI utilizes OpenAI models to assist with content translation. We add an extra layer on top of OpenAI’s models to enhance precision and accuracy. This includes options to add context like character limits, key descriptions, glossary terms, and style guides, which Lokalise AI considers to deliver more accurate translations.
What types of content can be translated using Lokalise AI?
Lokalise AI is versatile and can handle a wide range of content types, including websites, documents, emails, marketing materials, user-generated content, and more. It adapts to various industries and content formats, making it ideal for businesses looking to reach global audiences.
What are the best use cases for generating translations with Lokalise AI?
While Lokalise AI can generate translations for any content, it’s most accurate with shorter text strings. For long-form content, we recommend using it as a pre-translation tool and having linguists review the output to ensure quality.
How accurate are Lokalise AI translations?
The accuracy of Lokalise AI translations can vary depending on factors like language pair and content complexity. Generally, we estimate around 80% accuracy based on customer feedback. Typically, minor adjustments are needed for the remaining 20% to meet specific needs.
Can Lokalise AI handle translations of highly specialized or technical content?
Yes, Lokalise AI is capable of handling translations for highly specialized or technical content. Our AI models are trained to understand complex terminology, ensuring accurate translations even for specialized industries.
Which languages does Lokalise AI support?
Lokalise AI supports an unlimited number of languages.
How will my data be used?
When using Lokalise AI, only the original content being translated, along with its description and provided context, is processed. We may use the data for machine learning unless you withdraw your consent. Machine learning is crucial for developing new AI-powered features and improving existing ones.
Is Lokalise AI translation secure and private?
Absolutely! We prioritize the security and privacy of your data. Lokalise AI translation follows strict security protocols to protect your data and ensure compliance with data protection regulations. We partner with OpenAI, which employs industry-standard encryption techniques to secure your data during transit and at rest. OpenAI complies with industry standards such as ISO 27001, SOC 2 Type II, and GDPR. They have a 30-day data retention policy for abuse and misuse monitoring, after which your data is deleted. OpenAI does not store your data for training purposes unless you opt in.