Accept-Language to choose the localized values you want:
cs-CZ, de, en, and ru.
Regional request tags are matched to the closest supported locale. For example,
de-DE and de-AT both return localized fields under de.
Localized response fields are objects keyed by supported response locale:
Content-Language with the locale tags returned.
Language ranges
Use these request values to select localized fields:
Quality values (
;q=) order the returned keys. Tags with q=0 are ignored.
* takes its own quality value. For example, de, *;q=0.5 returns de first,
followed by cs-CZ, en, and ru. A locale you list with q=0 is never added
by *, so en;q=0, * returns every locale except en.
When Accept-Language is omitted or is *, the API returns all supported locale
keys for that field. Some HTTP clients, such as Node.js fetch, send
Accept-Language: * when you do not set the header. When the header contains
only unsupported languages, the API returns cs-CZ.
Missing translations
A requested key is always present in a localized field. For most fields, a missing or empty translation is returned asnull.
The following fields have explicit fallback behavior:
- Hotel and visit type names, including the
hotelandvisitTypereferences inside price minima, fall back to the Czech value. A visit type always has a Czech name; a hotel name isnullonly when the hotel has no Czech name. - Image
altfalls back to the name of the hotel, room type, or visit type the image belongs to. Unlike other localized fields, an explicitly stored emptyaltremains""to represent a decorative image. See Images.
name is a plain string shared by all languages. Accept-Language
does not change it. The room’s description and dictionary labels remain localized.