languages
fun languages(vararg languages: IsoLanguageCode): CategorySearchOptions.Builder
Content copied to clipboard
fun languages(languages: List<IsoLanguageCode>): CategorySearchOptions.Builder
Content copied to clipboard
Specify the user’s language. This parameter controls the language of the text supplied in responses, and also affects result scoring, with results matching the user’s query in the requested language being preferred over results that match in another language. For example, an autocomplete query for things that start with Frank might return Frankfurt as the first result with an English (en) language parameter, but Frankreich (“France”) with a German (de) language parameter. If language is not set explicitly, then language from default system locale will be used.
Note: Geocoding API supports a few languages, Single Box Search – only one.