---
schema_version: "1"
id: e7fd8a3609248093c780d0a9a9288229744572ad3d8c79d144c019b5f9a759d3
title: Supported Languages in Prompt Template Responses
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/prompt_builder_localize_responses.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_localize_responses.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fd2609d9ddded6f6811bc858969777ab2dfa903759d034a87fb0cda7651be194
description: A prompt template can use any language that Prompt Builder offers. Supported languages are optimized for business-appropriate phrasing and are integrated with the Einstein Trust Layer to use its data masking and toxicity scoring features.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Supported Languages in Prompt Template Responses

A prompt template can use any language that Prompt Builder offers. Supported languages are optimized for business-appropriate phrasing and are integrated with the Einstein Trust Layer to use its data masking and toxicity scoring features.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations</td></tr></tbody></table>

## Supported Languages

Prompt Builder supports these languages. Prompt Builder instructs the LLM to use business-appropriate phrasing and formats based on the locale. Some models generate responses that are close variants, but not exact matches, for the requested locale.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:40%">
          <col style="width:40%">
          <col style="width:20%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d53112e77">Language</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d53112e80">Locale</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d53112e83">Code</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e77 ">Dutch</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">Netherlands</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>nl_NL</code></td>

          </tr>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e77 ">English</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">United States</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>en_US</code></td>

          </tr>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e77 ">French</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">France</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>fr_FR</code></td>

          </tr>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e77 ">German</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">German</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>de_DE</code></td>

          </tr>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e77 ">Italian</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">Italy</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>it_IT</code></td>

          </tr>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e77 ">Japanese</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">Japan</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>ja_JA</code></td>

          </tr>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e77 ">Portuguese</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">Brazil</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>pt_BR</code></td>

          </tr>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" rowspan="2" style="vertical-align:top;" headers="d53112e77 ">Spanish</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">Mexico</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>es_MX</code></td>

          </tr>
          <tr class="">
            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">Spain</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>es_ES</code></td>

          </tr>
          <tr class="">
            <td data-label="Language" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e77 ">Swedish</td>

            <td data-label="Locale" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e80 ">Sweden</td>

            <td data-label="Code" class="slds-cell-wrap" style="vertical-align:top;" headers="d53112e83 "><code>sv_SE</code></td>

          </tr>
        </tbody>
      </table>

## Global Languages

You can enable [Salesforce-supported, end-user, and platform-only languages](https://help.salesforce.com/s/articleView?id=xcloud.faq_getstart_what_languages_does.htm&language=en_US) by turning on Global Language Support in Einstein Setup. However, when using a global language, some Einstein Trust Layer features, such as data masking and toxicity scoring, may be unavailable, and responses may be less optimized for business-appropriate phrasing than in supported languages.

LLMs generally don’t have official support for specific response languages, and some LLMs might not perform well for all global languages. Be sure to test your selected model with your response language to deliver a properly localized response.

#### See Also

- [Einstein Trust Layer](https://help.salesforce.com/s/articleView?id=ai.generative_ai_trust_layer.htm&release=264.0.0&type=5 "Trusting generative AI with your company secrets and your customer data while balancing the benefits of generative AI is still a challenge today. The Einstein Trust Layer is a secure AI architecture, built into the Salesforce platform. It’s a set of agreements, security technology, and data and privacy controls used to keep your company safe while you explore generative AI solutions.")