How to Use OpenAI in Loco Translate for Auto Translation of Plugins & Themes?

Last Updated:

OpenAI is a powerful tool that can be used to translate plugins or themes in WordPress. Once you select the language in which you want to translate your theme or plugin, follow these simple steps:

Note: Before using this feature, make sure the OpenAI translation provider is enabled from the plugin dashboard.

Setting Up OpenAI for Translation

  • Click on the Auto Translate button.
loco-autotranslate-btn
  • A pop-up will appear.
  • If you want to translate using OpenAI, you must first add the API key by navigating to Loco Translate > LocoAI > Settings.

Important: OpenAI translation requires a valid OpenAI API key. The OpenAI key is not included with the plugin and is not provided as part of the plugin ZIP file. To use OpenAI for automatic translations, you must purchase an OpenAI API subscription separately and generate your own API key from your OpenAI account. Once you have obtained the API key, enter it in the LocoAI Settings Dashboard to enable OpenAI-powered translations.

Add API keys
  • After adding the API key, select OpenAI Translator.
loco ai translation providers
  • Once you select the translation provider, the automatic translation process will begin.

Merge & Save Translation

  • Once the translation completes, merge the translation.
merge loco AI translate
  • A pop-up will appear. Click on Start Adding Process.
Start adding process
  • Once you click on Start Adding Process. All the translations will get added to the loco translator string table.
Save translations
  • Click the Save button and then refresh the page.

Note that while automatic translation tools can be helpful, they may not provide perfect translations, and there may be inaccuracies or errors in the translation. Therefore, it’s always a good idea to have a professional translator review the translation if it’s critical for your business or organization.

In This Article

Share it
Need Help? Contact Our Support Team