---
title: 多語言支援
url: https://platform.claude.com/docs/zh-TW/build-with-claude/multilingual-support
description: Claude 擅長處理多種語言的任務，相對於英文能維持強大的跨語言表現。
---

## 概覽

Claude 展現出穩健的多語言能力，在跨語言的「zero-shot」（零樣本）任務中表現尤其出色。該模型在廣泛使用的語言與資源較少的語言之間皆能維持一致的相對表現，使其成為多語言應用程式的可靠選擇。

除了下表所列的基準測試語言之外，Claude 也能處理許多其他語言。請針對與您特定使用情境相關的任何語言進行測試。

## 效能數據

下表顯示 Claude 模型在各語言上的零樣本「chain-of-thought」（思維鏈）評估分數，以相對於英文表現（100%）的百分比表示：

| 語言              | Claude Sonnet 4.5（已棄用）1 | Claude Haiku 4.51 |
| --------------- | ----------------------- | ----------------- |
| 英文（基準，固定為 100%） | 100%                    | 100%              |
| 西班牙文            | 98.2%                   | 96.4%             |
| 葡萄牙文（巴西）        | 97.8%                   | 96.1%             |
| 義大利文            | 97.9%                   | 96.0%             |
| 法文              | 97.5%                   | 95.7%             |
| 印尼文             | 97.3%                   | 94.2%             |
| 德文              | 97.0%                   | 94.3%             |
| 阿拉伯文            | 97.2%                   | 92.5%             |
| 中文（簡體）          | 96.9%                   | 94.2%             |
| 韓文              | 96.7%                   | 93.3%             |
| 日文              | 96.8%                   | 93.5%             |
| 印地文             | 96.7%                   | 92.4%             |
| 孟加拉文            | 95.4%                   | 90.4%             |
| 斯瓦希里文           | 91.1%                   | 78.3%             |
| 約魯巴文            | 79.7%                   | 52.7%             |

1 使用 [extended thinking（擴展思考）](https://platform.claude.com/docs/zh-TW/build-with-claude/extended-thinking)。

<Note>
  這些指標基於 [MMLU（Massive Multitask Language Understanding，大規模多任務語言理解）](https://en.wikipedia.org/wiki/MMLU) 英文測試集，由專業人工譯者翻譯成另外 14 種語言，詳見 [OpenAI 的 simple-evals 儲存庫](https://github.com/openai/simple-evals/blob/main/multilingual_mmlu_benchmark_results.md)。此評估採用人工譯者以確保高品質的翻譯，這對於數位資源較少的語言尤其重要。
</Note>

***

## 設定回應語言

Claude 會從對話中推斷回應語言，但對於正式環境的應用程式，您應明確指定目標語言。最可靠的做法是在「system prompt」（系統提示）中指定，這能讓該指令在對話的每一輪中保持穩定。

<CodeGroup>
  ```bash cURL
  curl https://api.anthropic.com/v1/messages \
    -H "content-type: application/json" \
    -H "x-api-key: $ANTHROPIC_API_KEY" \
    -H "anthropic-version: 2023-06-01" \
    -d '{
      "model": "claude-opus-5-5",
      "max_tokens": 1024,
      "system": "Always respond in French, regardless of the language the user writes in.",
      "messages": [
        {"role": "user", "content": "How do I reset my password?"}
      ]
    }'
  ```

  ```bash CLI
  ant messages create \
    --model claude-opus-5-5 \
    --max-tokens 1024 \
    --system "Always respond in French, regardless of the language the user writes in." \
    --message '{role: user, content: "How do I reset my password?"}'
  ```

  ```python Python
  client = anthropic.Anthropic()

  message = client.messages.create(
      model="claude-opus-5-5",
      max_tokens=1024,
      system="Always respond in French, regardless of the language the user writes in.",
      messages=[{"role": "user", "content": "How do I reset my password?"}],
  )

  print(message.content)
  ```

  ```typescript TypeScript
  const client = new Anthropic();

  const message = await client.messages.create({
    model: "claude-opus-5-5",
    max_tokens: 1024,
    system: "Always respond in French, regardless of the language the user writes in.",
    messages: [{ role: "user", content: "How do I reset my password?" }]
  });

  console.log(message.content);
  ```

  ```csharp C#
  AnthropicClient client = new();

  var parameters = new MessageCreateParams
  {
      Model = Model.ClaudeOpus5_5,
      MaxTokens = 1024,
      System = "Always respond in French, regardless of the language the user writes in.",
      Messages =
      [
          new() { Role = Role.User, Content = "How do I reset my password?" }
      ]
  };

  var message = await client.Messages.Create(parameters);
  Console.WriteLine(message);
  ```

  ```go Go
  client := anthropic.NewClient()

  message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
  	Model:     anthropic.ModelClaudeOpus5_5,
  	MaxTokens: 1024,
  	System: []anthropic.TextBlockParam{
  		{Text: "Always respond in French, regardless of the language the user writes in."},
  	},
  	Messages: []anthropic.MessageParam{
  		anthropic.NewUserMessage(anthropic.NewTextBlock("How do I reset my password?")),
  	},
  })
  if err != nil {
  	log.Fatal(err)
  }
  fmt.Println(message.Content)
  ```

  ```java Java
  AnthropicClient client = AnthropicOkHttpClient.fromEnv();

  MessageCreateParams params = MessageCreateParams.builder()
      .model(Model.CLAUDE_OPUS_5_5)
      .maxTokens(1024)
      .system("Always respond in French, regardless of the language the user writes in.")
      .addUserMessage("How do I reset my password?")
      .build();

  Message message = client.messages().create(params);
  System.out.println(message.content());
  ```

  ```php PHP
  $client = new Client();

  $message = $client->messages->create(
      maxTokens: 1024,
      messages: [
          ['role' => 'user', 'content' => 'How do I reset my password?']
      ],
      model: 'claude-opus-5-5',
      system: 'Always respond in French, regardless of the language the user writes in.',
  );

  echo json_encode($message->content, JSON_PRETTY_PRINT), PHP_EOL;
  ```

  ```ruby Ruby
  client = Anthropic::Client.new

  message = client.messages.create(
    model: "claude-opus-5-5",
    max_tokens: 1024,
    system: "Always respond in French, regardless of the language the user writes in.",
    messages: [
      { role: "user", content: "How do I reset my password?" }
    ]
  )

  puts message.content
  ```
</CodeGroup>

如果您的應用程式允許使用者在執行時選擇語言，請將該選擇插入系統提示中，而非依賴 Claude 從使用者的訊息中推斷。若要在兩種特定語言之間進行翻譯，請同時指明兩者：`Translate the user's message from German to Korean. Respond with only the translation.`

***

## 最佳實務

處理多語言內容時：

1. **提供清楚的語言上下文：** 雖然 Claude 能自動偵測目標語言，但明確說明所需的輸入與輸出語言可提升可靠性。若要增進流暢度，您可以提示 Claude 使用「如同母語人士般的道地用語」。
2. **使用原生文字：** 請以原生文字而非音譯方式提交文本，以獲得最佳結果。
3. **考量文化脈絡：** 有效的溝通往往需要超越純粹翻譯的文化與地區意識。

另請遵循[提示工程概覽](https://platform.claude.com/docs/zh-TW/build-with-claude/prompt-engineering/overview)中的一般指引，以進一步提升輸出品質。

***

## 語言支援注意事項

* Claude 能以大多數使用標準 Unicode 字元的世界語言處理輸入並產生輸出。
* 效能因語言而異，在廣泛使用的語言中能力尤其強大。
* 即使在數位資源較少的語言中，Claude 仍能維持具有意義的能力。

## 後續步驟

<CardGroup cols={2}>
  <Card title="提示工程概覽" icon="edit" href="https://platform.claude.com/docs/zh-TW/build-with-claude/prompt-engineering/overview">
    運用一般提示技巧來提升多語言輸出品質。
  </Card>

  <Card title="客戶支援代理" icon="headset" href="https://platform.claude.com/docs/zh-TW/about-claude/use-case-guides/customer-support-chat">
    使用限定語言的系統提示建構在地化的支援聊天機器人。
  </Card>

  <Card title="模型概覽" icon="table" href="https://platform.claude.com/docs/zh-TW/models/overview">
    比較各模型層級，在多語言品質與成本及延遲之間取得平衡。
  </Card>

  <Card title="定義成功標準並建立評估" icon="scales" href="https://platform.claude.com/docs/zh-TW/test-and-evaluate/develop-tests">
    在發布前評估翻譯與在地化品質。
  </Card>
</CardGroup>
