> For the complete documentation index, see [llms.txt](https://nostramap-doc.fatos.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nostramap-doc.fatos.biz/fatos-api/map/map-control/language.md).

# Language

## setLanguage

Sets the language of the map.

```
mapInstance.setLanguage(language);
```

### Parameter

| Required Parameter | Description                                             | Type   |
| ------------------ | ------------------------------------------------------- | ------ |
| language           | specifies the language of the map. ("national" or "en") | String |

{% hint style="success" %}
"national" will display each region of the map with corresponding native language.
{% endhint %}

### Example

```javascript
mapInstance.setLanguage("national");
```

## getLanguage

Retrieves the language parameter of the map instance.

```javascript
mapInstance.getLanguage();

return: "national"
```
