# Translation

## **1: Use "**[**Loco Translate**](https://wordpress.org/plugins/loco-translate/)**" plugin to translate theme and plugins to your language**

### **a) Choose language to display**

Settings >> General >> Site language >> Choose your language

![](https://2378307249-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfagREDBAwhbR1KCF8C%2F-Mgz3FA-hcNmRw_EAdoi%2F-Mgz4tAbGA7WJXUzx5y0%2FScreen%20Shot%202020-05-05%20at%2010.43.16%20AM.jpg?alt=media\&token=2b870790-361f-437e-9a0e-d025f7df2ff0)

### b) Choose theme to translate

Go to Loco Translate >> Themes >> Choose Aovis

![](https://2378307249-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0hrVNrJA5xnVtB6FlF7I%2Fuploads%2FMeDM2VL5BLy1AdnxgQjS%2FScreen%20Shot%202024-08-29%20at%2014.47.56.png?alt=media\&token=4364f9e8-f29a-4c1f-957c-20e57e1afb2e)

### c) Click New language

![](https://2378307249-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0hrVNrJA5xnVtB6FlF7I%2Fuploads%2FsBy6q9TQEllVVZGYLL5G%2FScreen%20Shot%202024-08-29%20at%2014.48.35.png?alt=media\&token=7b2a567f-4441-424e-93d3-6ee1a80b042a)

### d) Save translate file in system

![](https://2378307249-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0hrVNrJA5xnVtB6FlF7I%2Fuploads%2Fmkh4rTIV8gbdnD422Otr%2FScreen%20Shot%202024-08-29%20at%2014.49.09.png?alt=media\&token=ab7f8999-b651-48ae-b984-ad061262fba8)

### e) Find and translate text

![](https://2378307249-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0hrVNrJA5xnVtB6FlF7I%2Fuploads%2F0SSoEauqm4e0Ouvz2ini%2FScreen%20Shot%202024-08-29%20at%2014.50.05.png?alt=media\&token=44aa35f5-0c26-4cf4-b62d-a61392b59b63)

### **f) 404 page**

After translate Slug of custom post type or else, you get 404 page => you have to save permalink again.

Go to Settings >> Permalink >> Permalink structure: Choose "Post Name" and save again.

## **2: Use "WPML" plugin to make multiple language**

Note: Translate options in Events >> Settings: Please read here <https://wpml.org/documentation/getting-started-guide/translating-theme-options/>

### WPML with Header, Footer

1: Insert shortcode in Header, Footer elementor to display Switch Language: \[wpml\_language\_selector\_widget]‌

2: Translate Header, Footer to other language


---

# 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://ova-themes.gitbook.io/aovis/basics/translation.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.
