---
title: "Enable Translation API & Install Language Packs"
url: https://docs.coolplugins.net/doc/chrome-translation-api-language-setup/
date: 2025-06-23
modified: 2026-07-23
author: "Satinder Singh"
description: "To use Chrome Built-in AI for automatic translation, you must configure the Chrome Translation API and ensure the required language packs are available. Follow the steps below to enable the..."
categories:
  - "AutoPoly - AI Translation For Polylang"
image: https://docs.coolplugins.net/wp-content/uploads/2026/05/autopoly-api-install-language-800x450.jpg
word_count: 373
---

# Enable Translation API & Install Language Packs

To use **Chrome Built-in AI** for automatic translation, you must configure the Chrome Translation API and ensure the required language packs are available.

Follow the steps below to enable the Translation API and install the required language packs:

## Step 1: Use a Secure Connection

First, make sure that your connection is secure; otherwise, Translation API will not work properly. If you’re using a non-secure (`http://`) site or localhost:

- Please switch to a secure connection (HTTPS) or add this URL to the list of insecure origins treated as secure by visiting [chrome://flags/#unsafely-treat-insecure-origin-as-secure](chrome://flags/#unsafely-treat-insecure-origin-as-secure). Click on the URL to copy it, then open a new window and paste this URL to access the settings.

## Step 2: Chrome AI Setup Configuration

You can also verify your Chrome AI setup directly from the plugin dashboard.

- From your WordPress dashboard, navigate to **Languages > AutoPoly > Settings.**

[![chrome ai configuration](https://docs.coolplugins.net/wp-content/uploads/2025/06/chrome-ai-configuration-800x464.png)](https://docs.coolplugins.net/wp-content/uploads/2025/06/chrome-ai-configuration.png)

- Under **Chrome AI Configuration** section you can:

Test translations using different language pairs.

- Check which language pairs are supported.

- Confirm that your Chrome Translation API is properly configured.

**Note:** During the Chrome AI setup configuration, the required language packs are usually downloaded and installed automatically.

## Step 3: Enable the Translation API

- Open this URL in a new Chrome tab: [chrome://flags/#translation-api](chrome://flags/#translation-api).

- Set the **Experimental translation API **option to **Enabled**.

[![enable translation api](https://docs.coolplugins.net/wp-content/uploads/2025/06/enable-translation-api.jpg)](https://docs.coolplugins.net/wp-content/uploads/2025/06/enable-translation-api.jpg)

- Click on Relaunch Chrome to apply the changes.

- The Translator AI model will now be enabled and ready for use.

Secondly, to translate between English (`en`) and Hindi (`hi`) or any other supported language, alternative language packs must be installed and supported. To view the list of supported languages:

- Please visit [chrome://on-device-translation-internals](chrome://on-device-translation-internals/) .

- Ensure your Chrome browser is updated to the latest version for optimal performance.

## Step 4: Install Language Packs

- You can install languages by visiting the following link: [chrome://on-device-translation-internals](chrome://on-device-translation-internals/).

[![install language packs](https://docs.coolplugins.net/wp-content/uploads/2025/06/install-language-packs.jpg)](https://docs.coolplugins.net/wp-content/uploads/2025/06/install-language-packs.jpg)

- Please check if both your** source **(`en`) and **target (**`hi`) languages are available in the language packs list.

- You need to install both language packs for translation to work. You can search for each language by its language code: `en` and` hi`. After the language pack is installed, reload or restart your browser.

- Now, let's add this language to your browser's system languages in Chrome settings.

- Go to **Settings > Languages > Add languages** and add हिन्दी or English to your preferred languages list & reload the page.