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.
![](https://locoaddon.com/wp-content/uploads/2024/07/loco-autotranslate-btn-3.webp)
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.
![](https://locoaddon.com/wp-content/uploads/2024/07/Editing-loco-translate-hi_IN-po-in-Loco-Translate-‹-Plugin-translations-‹-Loco-‹-gemini-—-WordPress-3-1.png)
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.
![](https://locoaddon.com/wp-content/uploads/2024/07/loco-geminiAPI-settings.png)
5. You can view the added API key. By clicking ‘Update API Key,’ you can change the added API key.
![](https://locoaddon.com/wp-content/uploads/2024/07/Loco-Automatic-Translate-Addon-Pro-‹-gemini-—-WordPress-2-1.png)
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.
![](https://locoaddon.com/wp-content/uploads/2024/07/Editing-loco-translate-pt_BR-po-in-Loco-Translate-‹-Plugin-translations-‹-Loco-‹-gemini-—-WordPress-3-1.png)
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.
![](https://locoaddon.com/wp-content/uploads/2024/07/Editing-loco-translate-hi_IN-po-in-Loco-Translate-‹-Plugin-translations-‹-Loco-‹-gemini-—-WordPress-4.png)
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
![](https://locoaddon.com/wp-content/uploads/2024/07/Editing-loco-translate-hi_IN-po-in-Loco-Translate-‹-Plugin-translations-‹-Loco-‹-gemini-—-WordPress-1-1.png)
9. Click on Merge Translation. In this pop-up, you can view your translated strings in this table.
![](https://locoaddon.com/wp-content/uploads/2024/07/Editing-loco-translate-hi_IN-po-in-Loco-Translate-‹-Plugin-translations-‹-Loco-‹-gemini-—-WordPress-2-2.png)
10. A pop-up will appear. Click on Start Adding Process.
![](https://locoaddon.com/wp-content/uploads/2024/07/Editing-loco-translate-pt_BR-po-in-Loco-Translate-‹-Plugin-translations-‹-Loco-‹-gemini-—-WordPress-2-1.png)
11. Once you click on Start Adding Process. All the translations will get added to the loco translator string table.
![loco-google-save-translation](https://locoaddon.com/wp-content/uploads/2023/04/loco-google-save-translation.png)
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.