# Any language

> Curva decides in any language: the text, the questions and the answer options can each be in any language or script. What was tested, and the few limits to know.

Source: https://docs.tarkova.com/curva/guides/languages/

The text you decide about, your questions and your answer options can each be in any language or
script, mixed freely. Nothing needs to be translated to English first.

```python

d = curva.decide(
    {"संदेश": "मुझसे इस महीने दो बार पैसे काट लिए गए हैं, कृपया एक भुगतान वापस करें।"},
    {
        "टीम": curva.Choice("किस टीम को यह संभालना चाहिए?", {"बिलिंग": "भुगतान, रिफंड", "तकनीकी": "ऐप की खराबी"}),
        "रिफंड": "क्या ग्राहक रिफंड मांग रहा है?",
    },
)
d["टीम"].choice    # "बिलिंग"
d["रिफंड"].noul    # close to 1
```

## Why it works

Curva never asks the model to repeat your option text. Every option is given a letter (A, B, C…),
the model answers with letters, and Curva maps them back to your keys exactly as you wrote them.
So a key in Hindi, Arabic or Chinese comes back byte for byte, and its probability is read the
same way as for an English key.

How well a language is *understood* is the model's job: pick a model that is good at your
languages, and measure it on your own examples with [`curva bench`](/curva/reference/cli/).

## What was tested

Live on 10 October 2026 against `@groq/qwen/qwen3.8-27b`, with the message, the question and the
option keys all in the caller's language:

| Test | Languages | Result |
|---|---|---|
| Route to a team and detect a refund request | Hindi, Spanish, Arabic, Chinese, Japanese, German, Portuguese, Russian, Tamil, Hindi in Latin letters | 10 of 10 right |
| [Voice guard](/curva/guides/voice/): stop attacks, allow ordinary speech | the same ten | 10 of 10 right |
| Pull a name and a city out as text | Hindi, Arabic | returned in their own script |
| [Call signals](/curva/guides/voice/) | Spanish | handoff and consent found |

The 25 calls had a median of 242 ms. Ten examples per test show that it works, not how accurate it
is in each language.

## Live calls in Indian languages

A [live call](/curva/guides/voice/) is heard as audio, so the caller's language reaches the model as it was
spoken. Calls in Hindi, Hinglish, Tamil and Bengali are not ready to rely on: with the `scam` set,
an ordinary call that names a bank or a courier is often warned too (5 of 12 in the four languages,
in a test of 8 calls a language). See [Known limits](/curva/known-limits/#voice).

## Limits to know

- **Size limits count bytes.** A state may be 150,000 bytes of JSON and the questions 100,000. A
  character outside the Latin alphabet takes 2 to 4 bytes, so that is about 50,000 Hindi or Chinese
  characters. Project names may be 64 characters in any script.
- **Text answers are compared as written.** Feedback on a text question matches ignoring case and
  spacing, but two spellings that look the same and are stored differently (an accented letter as
  one character or as a letter plus a mark) count as different answers.
- **Yes/no shorthand.** A plain string is a yes/no question when it ends in `?`, `？`, `؟` or `፧`.
  In any other case write `curva.Noul("…")`.
- **`hear` names 10 languages.** English, Spanish, Hindi, Tamil, Bengali, Arabic, French,
  Portuguese, German and Chinese. Any other language, Telugu or Marathi for example, comes back as
  `none_of_these`; ask your own `language` question with the options you need.
- **Ready-made recipes are written in English.** They judge text in other languages (the voice
  guard above is one), but their questions and option descriptions are English.
- **The dashboard is in English.** It shows your keys and answers in their own script, right to
  left where the script is.
