# Localization

The plugin has two localization files. One for an admin and one for a frontend page. In most cases you need to localize only a frontend page. Localization files are inside the `language` folder of the plugin.

To make a localization from the admin page with the most comfort way, we recommend to use the plugin [Loco translate.](https://wordpress.org/plugins/loco-translate/) You need to make some setup before using the plugin to edit frontend files. Go to `Loco translate` – `Plugins` and find `Affiliate Egg`. Then, go to Setup tab and make next settings. (This can be set automatically. If so, then don't change anything here).

![](/files/-M5WT4KbkFkZcJcR6NrE)

Save the file. Now you can create a new language or use an existed language for a frontend localization.

To create a new language, click on link `“New language”`

![](/files/-M5WTFAvabD9_RO_bVhG)

{% hint style="warning" %}
The plugin uses own setting for a language of frontend part and doesn't use a language setting of WordPress. Set a language in `Affiliate Egg` –> `Settings` –> `Website language`.
{% endhint %}

Choose `Custom language` and set locale (**two letters**) which you have in the `Affiliate Egg` –> `Settings` –> `Website language`.

When you create a new language in Loco translate, it must be **without a second part.** For example, for Finish, a file name must be `“fi”`, not “fi\_FI” as usual in WordPress.

![](/files/-M5WU-Z_87cyqV99n-ji)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ae-docs.keywordrush.com/localization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
