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
| Code | Description |
|---|---|
en-US | English (United States) |
en-EU | English (Europe) |
en-GB | English (United Kingdom) |
en-CA | English (Canada) |
en-AU | English (Australia) |
en-NZ | English (New Zealand) |
nl-NL | Dutch (Netherlands) |
nl-BE | Dutch (Belgium) |
de-DE | German (Germany) |
de-AT | German (Austria) |
de-CH | German (Switzerland) |
de-BE | German (Belgium) |
fr-FR | French (France) |
fr-CA | French (Canada) |
fr-BE | French (Belgium) |
fr-CH | French (Switzerland) |
it-IT | Italian (Italy) |
it-CH | Italian (Switzerland) |
es-ES | Spanish (Spain) |
cs-CZ | Czech (Czech Republic) |
pl-PL | Polish (Poland) |
pt-PT | Portuguese (Portugal) |
pt-BR | Portuguese (Brazil) |
sv-SE | Swedish (Sweden) |
sk-SK | Slovak (Slovakia) |
da-DK | Danish (Denmark) |
ko-KR | Korean (Korea) |
hu-HU | Hungarian (Hungary) |
no-NO | Norwegian (Norway) |
Usage
- Bookings: Set
localeon 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.