# Localization

You can change your site main language via **Settings -> General -> Site Language**

Theme language files are located in a **../wp-content/themes/theme-folder/languages/** folder.

**There are several ways to fill up translations:**

**-** It’s easy to localize your site using [Loco Translate](https://wordpress.org/plugins/loco-translate/) plugin. Here you can see the tutorial – <https://localise.biz/help/wordpress/translate-plugin/beginners>.

**-** Besides this, you can use a [PoEdit](https://poedit.net/) platform. You can add translation via editing your **.po** file and at the end, PoEdit generates **.mo** file for you. Then you can upload ready translation files to primordial folder (../wp-content/themes/theme-folder/languages/). Before adding translations for static strings it needs to rename language files correctly according to your site languages. You can find a list of language codes at [WordPress in your Language](http://codex.wordpress.org/WordPress_in_Your_Language). As an example, the language code for French is **fr\_FR**, so you would save the translated files as fr\_FR.po first, then fr\_FR.mo.

In order to safe your translations during theme updates, we recommend to save them in **../wp-content/languages/themes/** folder.


---

# 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://docs.stylemixthemes.com/hotello-theme-documentation/setting-up-your-website/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.
