Setup

email_set_default_locale

Set the project's default locale — the fallback used to pick a template translation when neither the send call nor the contact's `locale` attribute carries one.

write email_set_default_locale

Set the project's default locale — the fallback used to pick a template translation when neither the send call nor the contact's locale attribute carries one. Tag like 'fr' or 'pt-BR'; pass null to clear (sends fall back to the base template language). A missing translation never blocks a send — it falls back to the base version.

Parameters

ParameterTypeRequiredDescription
localestring | nullYesLocale tag like 'fr' or 'pt-BR'. null clears the default.
projectIdstringNoTarget company (project id) — required on project-scoped tools. Call email_list_projects to enumerate companies.

On this page