# Language / translation

You can make translation in two way.\
1\.  Using language data fields.\
2\. Export/import JSON file.

#### **Both steps can do after add your language (if not available in language list)**

1. Select your language and add your translation in the value field and then submit from the bottom button.

![](/files/bmShWBfDJrB5kCTQiGEQ)

2\. First Select your language then Click on the export button.\
I) you will get a JSON file.\
ii). Edit the JSON file with any text editor like(notepad, sublime, atom... etc).\
iii) Set you own translation in  your language area\
iv) After completed the translation click on the import button and imported it.

Example for Spanish language. Just set your text in **es** the between the ""

{% hint style="danger" %}
Don't remove or change anything without your language section.
{% endhint %}

```
{
        "id": "878",
        "keyword": "required_alert",
        "english": "Please fill up the %s field",
        "es": ""
    },
    {
        "id": "879",
        "keyword": "pickup_area",
        "english": "Pickup Area",
        "es": ""
    },
    {
        "id": "880",
        "keyword": "restaurant_empty_alert_msg",
        "english": "If You do not find menu and other options ",
        "es": "your translation will be added here.."
    },
  
```

![](/files/hceqnMmh0dnXGq9OmAJX)

{% hint style="danger" %} <mark style="color:red;">If you get any text which is not translatable then please check bellow files.</mark>
{% endhint %}

Find `application/config/message_config.php` file just edit it and set your 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://phplime-envato.gitbook.io/qrexorder/qrexorder-limitation-and-features/language-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.
