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 offer 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 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 — 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. Still, the AI Suggestion context added by clicking the Add context button has higher priority.
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
💡 Looking for more?
Find all answers in AI: Frequently asked questions!