Last updated

Legacy API (api.hubbyesim.com). For the core Partner API, read Native eSIM Integration.

Supported Locales

When creating bookings or displaying localized content (for example country names), use one of the supported locale codes below. The locale field accepts a string with 2–5 characters (e.g. en, en-US).

Locale codes

CodeDescription
en-USEnglish (United States)
en-EUEnglish (Europe)
en-GBEnglish (United Kingdom)
en-CAEnglish (Canada)
en-AUEnglish (Australia)
en-NZEnglish (New Zealand)
nl-NLDutch (Netherlands)
nl-BEDutch (Belgium)
de-DEGerman (Germany)
de-ATGerman (Austria)
de-CHGerman (Switzerland)
de-BEGerman (Belgium)
fr-FRFrench (France)
fr-CAFrench (Canada)
fr-BEFrench (Belgium)
fr-CHFrench (Switzerland)
it-ITItalian (Italy)
it-CHItalian (Switzerland)
es-ESSpanish (Spain)
cs-CZCzech (Czech Republic)
pl-PLPolish (Poland)
pt-PTPortuguese (Portugal)
pt-BRPortuguese (Brazil)
sv-SESwedish (Sweden)
sk-SKSlovak (Slovakia)
da-DKDanish (Denmark)
ko-KRKorean (Korea)
hu-HUHungarian (Hungary)
no-NONorwegian (Norway)

Usage

  • Bookings: Set locale on the booking or traveler so communications and UI use the correct language (e.g. in claim flows).
  • Responses: Some API responses include localized labels keyed by locale (e.g. { "en": "Netherlands", "nl": "Nederland", "de": "Niederlande" }). Use a key from this list when reading those fields.

Codes follow BCP 47 (language-region). Use the exact code; for example use fr-CA for Canadian French, not only fr.