---
title: language
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/mapkit/language
---

# language

A language ID indicating the selected language.

## Declaration

```data
get language(): string;
set language(language: string);
```

## Mentioned in

MapKit JS 5

## Discussion

Discussion The ID of the language you pass as an initialization option, or according to the user’s browser preference. You can change the language property dynamically, which no longer requires that you reload the containing page. If the language choice isn’t available, MapKit JS picks the best match. For more information about language IDs, see Internationalization and Localization Guide.

## See Also

### Version and language

- [build](mapkitjs/mapkit/build.md)
- [version](mapkitjs/mapkit/version.md)
