# WhatsApp templates in several languages and error 132001

> Create one WhatsApp template name in many languages, send the exact language code, and fix error 132001 when a translation is missing or unapproved.

Published 2026-11-04. Z-API Omni team.

A WhatsApp template in three languages is three templates that share a name. Each one has its own language code, ID and review status. You send one by passing its exact code in `language.code`. Error 132001 means no approved template with that name exists in that code. Meta does not translate templates or fall back to another language, so any fallback has to live in your code.

## One name, one template per language

Meta's templates overview says you "must assign a template language code upon template creation" ([templates overview, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/overview)). It adds: "Template strings and variables are not translated by Meta". Several templates may share a name if their languages differ. Each one "counts against your template limit". That limit is 250 per Messaging account while the business portfolio is unverified. Verification raises it to "up to 6,000 templates", once at least one WhatsApp account has an approved display name.

Uniqueness is checked per language. "Template names must be unique within a Messaging account for each language," says the template management page ([template management, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/template-management)). Creating a second `order_confirmation` in `en_US` fails with error `100`, subcode `2388024`, "Content in This Language Already Exists". An unsupported language code also returns error `100`.

Meta documents no translation endpoint. To add a language, create the template again with the same `name` and a new `language`. That follows from the per-language uniqueness rule above. This Spanish version is built from Meta's `order_confirmation` sample in the overview, with the text translated and the version moved from v23.0 to v26.0:

```bash
curl "https://graph.facebook.com/v26.0/$WABA_ID/message_templates" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "order_confirmation",
  "language": "es_MX",
  "category": "utility",
  "parameter_format": "positional",
  "components": [
    {
      "type": "body",
      "text": "Hola {{1}}. Tu número de pedido es {{2}}. Gracias.",
      "example": { "body_text": [["Pablo", "860198-230332"]] }
    }
  ]
}'
```

Keep the same variables in the same order in every language, or the sending code needs a branch per language. The overview also caps creation at 100 templates per Messaging account per hour, which matters when you script ten languages for fifty templates. Review rules are in [create a WhatsApp message template with the API](/academy/articles/whatsapp-create-message-template-api/), and the usual rejection causes in [why WhatsApp templates get rejected](/academy/articles/whatsapp-template-rejected-common-reasons/).

## Create takes a string, send takes an object

The create request takes `"language": "es_MX"` as a plain string. The send request takes an object, `"language": {"code": "es_MX"}`. Meta's utility templates page states the same split ([utility templates, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/utility-templates/utility-templates)). This is Meta's send body from the overview, wrapped in curl at v26.0, with the code changed to `es_MX`:

```bash
curl "https://graph.facebook.com/v26.0/$PHONE_NUMBER_ID/messages" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "+16505551234",
  "type": "template",
  "template": {
    "name": "order_confirmation",
    "language": { "code": "es_MX" },
    "components": [
      {
        "type": "body",
        "parameters": [
          { "type": "text", "text": "Jessica" },
          { "type": "text", "text": "SKBUP2-4CPIG9" }
        ]
      }
    ]
  }
}'
```

## Language codes Meta accepts

Meta's supported languages page lists every code templates accept ([supported languages, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/supported-languages)). The full list runs past a hundred entries. A subset for the markets this blog covers:

| Language | Code |
| --- | --- |
| English | `en` |
| English (US) | `en_US` |
| English (UK) | `en_GB` |
| English (IND) | `en_IN` |
| English (MYS) | `en_MY` |
| Spanish | `es` |
| Spanish (MEX) | `es_MX` |
| Spanish (SPA) | `es_ES` |
| Spanish (COL) | `es_CO` |
| Spanish (ARG) | `es_AR` |
| Spanish (CHL) | `es_CL` |
| Spanish (PER) | `es_PE` |
| Portuguese (BR) | `pt_BR` |
| Portuguese (POR) | `pt_PT` |
| French | `fr` |
| German | `de` |
| Italian | `it` |
| Arabic | `ar` |
| Hindi | `hi` |
| Indonesian | `id` |
| Malay | `ms` |

`en`, `en_US` and `en_GB` are three separate codes, and so are `es`, `es_MX` and `es_ES`. A template created in `es` does not answer a send in `es_MX`. Portuguese has no plain `pt`, only `pt_BR` and `pt_PT`.

The list uses underscores. The template status webhook does not always follow it. Its samples show `"message_template_language": "en-US"` with a hyphen, and the field description gives `en-US` and `en` as examples ([message_template_status_update, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/message_template_status_update)). Normalize both forms before you compare them.

## What error 132001 says now

Meta's error reference gives 132001 as "The template does not exist in the specified language or the template has not been approved." The fix reads: "Make sure your template has been approved and the template name and language locale are correct" ([error codes, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/support/error-codes)).

Three cases match that wording. The name exists but not in the code you sent. The code exists but its review is still `PENDING` or ended `REJECTED`. Or the code differs by region (`es` against `es_MX`). The page doesn't say whether 132001 comes back in the synchronous response or in a `failed` status webhook. Cloud API errors can arrive "either synchronously as a Graph API response" or asynchronously by webhook, "or sometimes through both", so handle both paths. The [status webhooks post](/academy/articles/whatsapp-message-status-webhooks-sent-delivered-read-failed/) shows where `failed` errors land.

Nearby codes in the same table point elsewhere. 132000 means the parameter count doesn't match the template. 132005 means "Translated text is too long". 132012 means parameter values are formatted incorrectly. The [error codes reference](/academy/articles/whatsapp-cloud-api-error-codes-reference/) covers the rest.

## No language policy, so fallback is your code

Older Meta docs described a `policy` field on `language`, with a `deterministic` value. No current Cloud API page documents it. The old URL that described it now shows the On-Premises API sunset notice ([legacy message templates page, accessed 2026-11-04](https://developers.facebook.com/docs/whatsapp/api/messages/message-templates)). Send only `code`.

A fallback is therefore your design. The order below is one choice: the exact locale, then the bare language, then another region of the same language, then your default. Whether a customer in Mexico should get `es_ES` text or English is a business choice. Change the order to match what your customers read.

```python
"""template_locale.py: normalize locale codes and pick an approved template language.

Run: python3 template_locale.py es-mx
"""
import sys

# name -> set of approved language codes, fed by status webhooks or a GET
APPROVED = {}

def normalize(code):
    """'en-US', 'en_us', 'EN', 'zh-Hant-TW' -> 'en_US', 'en_US', 'en', 'zh_TW'."""
    parts = code.strip().replace("-", "_").split("_")
    lang = parts[0].lower()
    region = next((p.upper() for p in parts[1:] if len(p) == 2 and p.isalpha()), None)
    return f"{lang}_{region}" if region else lang

def pick_language(requested, approved, default="en_US"):
    want = normalize(requested)
    have = {normalize(c) for c in approved}
    lang = want.split("_")[0]
    same_lang = sorted(c for c in have if c.split("_")[0] == lang)
    for code in [want, lang, *same_lang, normalize(default)]:
        if code in have:
            return code
    return None

def on_template_status(value):
    """Handle the value of a message_template_status_update change."""
    name = value["message_template_name"]
    code = normalize(value["message_template_language"])
    codes = APPROVED.setdefault(name, set())
    if value["event"] == "APPROVED":
        codes.add(code)
    else:
        codes.discard(code)  # paused, rejected, deleted...: stop sending it

def send_with_fallback(send, name, requested, default="en_US"):
    """send(name, code) is your own sender and returns the Graph response dict."""
    tried = set()
    while True:
        code = pick_language(requested, APPROVED.get(name, set()) - tried, default)
        if code is None:
            raise LookupError(f"no approved language for {name!r}")
        result = send(name, code)
        if result.get("error", {}).get("code") != 132001:
            return result
        tried.add(code)

if __name__ == "__main__":
    on_template_status({"event": "APPROVED", "message_template_name": "order_confirmation",
                        "message_template_language": "en-US"})
    on_template_status({"event": "APPROVED", "message_template_name": "order_confirmation",
                        "message_template_language": "es_ES"})
    wanted = sys.argv[1] if len(sys.argv) > 1 else "es-MX"
    print(pick_language(wanted, APPROVED["order_confirmation"]))  # es-MX -> es_ES
```

The loop covers synchronous errors. If 132001 arrives in a `failed` status webhook, call the same pick-and-resend from your webhook handler.

Treating every event except `APPROVED` as "do not send" is conservative. After `REINSTATED` or `UNARCHIVED`, reload the template list to see the current status. The list endpoint has no documented language filter. Ask for the field instead, and each returned template carries its own `language`. This request is built from the template management sample, with `language` added to `fields`. The [template API reference](https://developers.facebook.com/documentation/business-messaging/whatsapp/reference/whatsapp-business-account/message-template-api) (accessed 2026-11-04) documents `limit`, `after` and `before` for paging.

```bash
curl "https://graph.facebook.com/v26.0/$WABA_ID/message_templates?fields=name,language,status" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

## Approval, quality and deletion per language

Each language version is its own object with its own `id`, `language` and `status`. Meta never writes "per-language approval" in those words, but the object model and the status webhook make it so. The webhook carries `message_template_id`, `message_template_name` and `message_template_language` on every event. Your Spanish version can sit in `PENDING` while English is already `APPROVED`. Review "can take up to 24 hours" in WhatsApp Manager, says the overview.

Quality ratings (GREEN, YELLOW, RED, UNKNOWN) are "based on usage, customer feedback, and engagement" ([template quality, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/template-quality)). That page doesn't mention language. Store the rating per template ID, which already separates the languages. The pause and disable rules are in [template quality rating, paused and disabled](/academy/articles/whatsapp-template-quality-rating-paused-disabled/).

Deletion treats a shared name as one group. Deleting by name "removes every template with that name across all languages". To remove one language, pass its `hsm_id` with the name. Both requests are Meta's template management samples, moved from v23.0 to v26.0:

```bash
# Deletes order_confirmation in every language
curl -X DELETE "https://graph.facebook.com/v26.0/$WABA_ID/message_templates?name=order_confirmation" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

# Deletes only the version with this ID
curl -X DELETE "https://graph.facebook.com/v26.0/$WABA_ID/message_templates?hsm_id=1407680676729941&name=order_confirmation" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

*Z-API Omni team*
