1. Home
  2. Docs
  3. Pro Plugin
  4. How to Use Gemini AI to Translate Plugins or Themes?

How to Use Gemini AI to Translate Plugins or Themes?

Gemini AI 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. Now the great Auto Translate feature comes into picture.

1. Click on the Auto Translate button.

2. A pop-up will appear. If you want to translate using Gemini AI, you must first add the Gemini API key. Once you click on ‘Add API Key’, the Translator Auto-Translate Settings Dashboard will open.

3. If you have already added the API key, go to Step 6.

4. You need to add your Gemini API key and click the save button. Additionally, here is a link to see how to generate a Gemini API key.

5. You can view the added API key. By clicking ‘Update API Key,’ you can change the added API key.

6. After adding the API key, click on the ‘Auto Translate’ button to open this popup, and then click on the ‘Gemini AI Translate’ button.

7. Once you click on Gemini AI Translator, a window will open displaying a table of strings from your theme or plugin. Click the ‘Gemini AI Translate’ button to initiate the translation process.

8. After clicking the Gemini AI translate button, the translation process will begin. You can monitor the progress in this popup. Please wait until the translation process is complete

9. Click on Merge Translation. In this pop-up, you can view your translated strings in this table.

10. A pop-up will appear. Click on Start Adding Process.

11. Once you click on Start Adding Process. All the translations will get added to the loco translator string table.

loco-google-save-translation

12. 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.

Articles