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

# language

A language ID that determines the language to use for displaying addresses.

## Declaration

```data
get language(): string | null;
set language(value: string | null);
```

## Discussion

Discussion When you set the language property to a language ID (such as fr-CA or en-GB), the service returns results in this language, if available. If language isn’t set when initializing a Service object, then the service uses the language you provided when you initialized MapKit. The default value is null. The language can be unset by setting language to null or undefined.

## See Also

### Creating a geocoder object

- [new Geocoder(options)](mapkitjs/geocoder/geocoderconstructor.md)
- [ServiceConstructorOptions](mapkitjs/serviceconstructoroptions.md)
- [getsUserLocation](mapkitjs/service/getsuserlocation.md)
