# Support for multiple languages

**To change the culture value by adding string.xml:**

* Right-click on the "res" directory (app/res).
* Click on "New" -> "New Resource directory".
* Select "Locale" as the resource type.
* Choose the desired language (e.g., Bangla) from the dropdown menu.
* Click "OK".
* "values-bn" will be created inside the res folder.
* After that, add strings.xml inside "values-bn"(eg. for Bangla language) file for the respective languages, otherwise, it will use English(default strings.xml) as the default language. add the strings inside the file.

<figure><img src="/files/CKpCnnUSNTFM8FQLquLt" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Gl57UlsFBunnwPohme11" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/LBYb9feYKaWrEylJLm4b" alt=""><figcaption></figcaption></figure>

**In Moblie Source Code**

Open the file CultureLocale.\
Add the country language code and language names from the backend table named culture\_table with the column name "name"

```
package com.medtroniclabs.opensource.formgeneration.formsupport.viewmodel
enum class CultureLocale (val value: String) {
    EN("English"),
    BN("Bengali"),
    SW("Swahili")
}
```


---

# 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://spice.docs.medtroniclabs.org/versions/spice-1.0/deploy/customization-guide/multi-language-translation/support-for-multiple-languages.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.
