API Support
Several services support verified translations. These includes:
- Heath Reports
- Labs
- Recommendations
- Biochemistry
- Carrier Status
To get verified translations, you must include a sd-langcookie with your request. The cookie value should correspond to the desired language.
We currently support:
- English
en(default) - Spanish
es - Hebrew
he - Bulgarian
bg - Arabic
ar - German
de
Note
Although we do our best to manually populate and verify translations for the above services, there will exist some objects without translations or even some objects with only partial translations (some fields translated, others not).
How to determine whether or not a given field is translated?
Since some objects lack verified translations or are only partially translated, your application may require a way to determine whether or not a given field is translated.
To achieve this, you can pass a query param ?signal_translations=true. This query param will work for all composed endpoints in the above services.
In this case, our servers will append a suffix #!TRANSLATED to all text fields that have been manually verified. For example:
[
// verified name, unverified summary
{
"id": "1443b01c-6b99-4d09-ab12-bf8f236e0677",
"name": "Alergias#!TRANSLATED",
"summary": "A condition where the immune system reacts to substances in the environment."
// ...
},
// unverified name, verified summary
{
"id": "13b7c7e2-7f3a-404b-9cef-f3dd4bad5cfe",
"name": "Cryptosporidium Infection",
"summary": "A condition caused by a parasite leading to diarrhea, stomach cramps, and dehydration.#!TRANSLATED"
// ...
}
]
Note - the suffix will only be appended if the requested language is not english.
PDF Support
All PDFs support a mixture of verified and auto-generated translations. Where available we will use the verified translations and otherwise we will fallback on an auto-generated translation.
For PDFs, language is controlled via a lang field included in the PDF configuration (details here).
We support:
- English
en(default) - Spanish
es - Hebrew
he - Bulgarian
bg - Arabic
ar - German
de - French
fr - Portuguese
pt - Italian
it
