Skip to main content

Regions and languages

Regions​

GET /v1/regions lists the regions Hometown prices, with their currency, default language and time zone. GET /v1/tasks?region=MX lists the jobs one region prices.

A request uses the default region of the account unless it sends region. A job Hometown does not price in that region answers 422 with the code unsupported_in_region.

Language of the breakdown​

steps comes in the language of locale, or in the language of the account when the request sends none. A follow-up keeps the language of its estimate:

"steps": [
{ "text": "Alcance: 100 pies lineales de cerca (instalación)" },
{ "text": "Horas: 4.00 de preparación + (100 x 0.1400 por pie lineal) = 18.00 horas-hombre" }
]

Numbers follow the country of the locale. es-ES writes 1.296,00 and es-MX writes 1,296.00.

When a line has no translation​

locale_fallback is en when at least one line of steps came back in English. It is null when every line is in the language you asked for.