# Localization

The frontend language of Content Egg can be different from your main WordPress language and admin dashboard language. Content Egg has its own setting for this:

* Go to **Content Egg > Settings > Frontend**.
* Set the **"Website Language"** option to choose the language used for the frontend display.

<figure><img src="https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3fnB7iKYwDc1Xhr3H3%2Fuploads%2FN9amhEqi6auDoSTny0Wv%2Fimage.png?alt=media&#x26;token=0a1b0be3-d168-4bb9-9b9f-f158c4e36a62" alt=""><figcaption></figcaption></figure>

For most use cases, you can translate frontend strings directly from the WordPress dashboard. Please follow this guide:

{% content-ref url="../frontend/translation" %}
[translation](https://ce-docs.keywordrush.com/frontend/translation)
{% endcontent-ref %}

### Translation via POT File

Content Egg includes two localization files:

* One for the **admin interface**
* One for the **frontend display**

In most cases, you only need to translate the **frontend**.

These localization files are located in the plugin's `/languages/` directory.

#### **Recommended Method: Loco Translate**

The easiest way to manage translations is by using the [Loco Translate](https://wordpress.org/plugins/loco-translate/) plugin.

**Steps to Translate the Frontend Strings:**

1. Install and activate the Loco Translate plugin
2. Go to **Loco Translate > Home**, then click on `Content Egg`
3. In the **Content Egg Frontend (content-egg-tpl)** section, click on `New language`

<figure><img src="https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3fnB7iKYwDc1Xhr3H3%2Fuploads%2Fid7HvPGpgIQ54GJ0Jids%2Fimage.png?alt=media&#x26;token=12ce8e28-8bef-4731-89d5-87ce3a499868" alt=""><figcaption></figcaption></figure>

4. Initialize new translations

⚠️ Important – Avoid Common Mistakes:

* In the **Language selection**, choose `Custom language`
* Enter the **two-letter language code** that matches the one set in\
  Content Egg > Settings > Frontend > Website Language.

**✅ Correct:** `content-egg-tpl-fr.po`\
\&#xNAN;**❌ Incorrect:** `content-egg-tpl-fr_FR.po`

<figure><img src="https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3fnB7iKYwDc1Xhr3H3%2Fuploads%2FtWGIVBwWMfODxW4zeQOK%2Fimage.png?alt=media&#x26;token=24441b58-a896-4907-b0bf-722a1d9b25de" alt=""><figcaption></figcaption></figure>

5. Click **"Start Translating"**
6. Translate all the required strings and save your changes
