The HealthCare Locator SDK enables your app to set the locale, such as English (default if not set) or French, for multilingual users working with the SDK-integrated search screens within your app or website. The locale in the get/search requests from your app is passed by GraphQL in queries to HealthCare Locator.
The following languages are supported :
● English (default)
● Albanian
● Bosnian
● Croatian
● Dutch
● French
● German
● Greek
● Hebrew
● Italian
● Macedonian
● Polish
● Portuguese
● Serbian
● Slovenian
● Spanish
● Swedish
Only a subset of languages is available in a given codebase. The same root language can also be available under different locales in two different codebases. The following is a cross table of the supported combinations of language/codebase/locale.
Field |
Type |
Description |
Bosnian |
BA (Bosnia) |
bs_BA |
German |
AT (Austria) |
de_AT |
German |
CH (Switzerland) |
de_CH |
German |
DE (Germany) |
de_DE |
Greek |
GR (Greece) |
el_GR |
English |
AT, AU, BE, BK, CA, CH, CO, DE, ES, FR, GR, IL, IT, MA, NL, PL, PT, SA, SE, TH, UK, US (all codebases ) |
en |
English |
AU (Australia) |
en_AU |
English |
CA (Canada) |
en_CA |
English |
UK (United Kingdom) |
en_GB |
English |
IL (Israel) |
en_IL |
English |
SA (Arabian Peninsula) |
en_SA |
English |
TH (Thailand) |
en_TH |
English |
US (United States) |
en_US |
English |
BK (Balkans) |
en_XK |
Spanish |
CO (Colombia) |
es_CO |
Spanish |
ES (Spain) |
es_ES |
French |
BE (Belgium) |
fr_BE |
French |
CA (Canada) |
fr_CA |
French |
CH (Switzerand) |
fr_CH |
French |
FR (France) |
fr_FR |
French |
MA (Morocco) |
fr_MA |
Hebrew |
IL (Israel) |
he_IL |
Croatian |
BK (Balkans) |
hr_HR |
Italian |
IT (Italy) |
it_IT |
Macedonian |
BK (Balkans) |
mk_MK |
Dutch |
BE (Belgium) |
nl_BE |
Dutch |
NL (Netherlands) |
nl_NL |
Polish |
PL (Poland) |
pl_PL |
Portuguese |
PT (Portugal) |
pt_PT |
Slovenian |
BK (Balkans) |
sl_SI |
Albanian |
BK (Balkans) |
sq_AL |
Serbian |
BK (Balkans) |
sr_RS |
Swedish |
SE (Sweden) |
sv_SE |
|
|
|
To set the language, see the example on how the locale is set in requests from a JavaScript app.
Only codebases associated with your requesting app's subscription API key are available for searches. Most of the existing codebases are equivalent to one single country. Some particular codebases are however aggregating several underlying countries such as BK, SA and UK.
The following is a cross table summarizing the supported codebases along with their associated countries.
Codebase name |
Codebase code |
Countries |
Arabian Peninsula |
SA |
Bahrein
(BH) |
Austria |
AT |
Austria (AT) |
Australia |
AU |
Australia (AU) |
Belgium |
BE |
Belgium (BE) |
Balkans |
BK |
Albania
(AL) |
Canada |
CA |
Canada (CA) |
Colombia |
CO |
Colombia (CO) |
France |
FR |
France (FR) |
Germany |
DE |
Germany (DE) |
Greece |
GR |
Greece (GR) |
Israel |
IL |
Israel (IL) |
Italy |
IT |
Italy (IT) |
Morocco |
MA |
Morocco (MA) |
Netherlands |
NL |
Netherlands (NL) |
Poland |
PL |
Poland (PL) |
Portugal |
PT |
Portugal (PT) |
Spain |
ES |
Spain (ES) |
Sweden |
SE |
Sweden (SE) |
Switzerland |
CH |
Switzerland (CH) |
Thailand |
TH |
Thailand (TH) |
United Kingdom |
UK |
Great
Britain (GB) |
United Stated |
US |
United States of America (US) |
|
|
|
One or more of these codebases can be selected when signing up for a pro version subscription. For an aggregating codebase, all of its underlying countries will be available in the subscription.
Note
● For behavior on searches with selected countries, see the Search block.