---
schema_version: "1"
id: 7f3ec1eeb73aa5c0906e7c49303fe7fddcbfd5e43e5dc687a1046d588968d566
title: Get String Translation Dictionary
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-get-string-translation-dictionary.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-get-string-translation-dictionary.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4f68171fc63f3c92dca1faafc76814510d5da67d88b5a1616c548e5da11ab415
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Get String Translation Dictionary

Retrieve the dictionary for a specified domain and locale.

```nolang
GET /v2/stringtranslations/{domain}/{local_code}
```

## Apex Remote Service

```nolang
 APIHandler
```


## Remote Method

```nolang
getDictionary
```

## Package

Communication (vlocity_cmt)


## API Parameters and Response Format

For API parameter names and descriptions, see [Industries Configure, Price, Quote Web APIs v2 Documentation](https://developer.salesforce.com/docs/industries/cme/references/cpq?meta=Summary).

To take advantage of web caching, copy the value of the [ETag](https://en.wikipedia.org/wiki/HTTP_ETag) that is returned in the response header, and assign this value to [If-None-Match](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match) in the request header of subsequent requests.

## Example Response

```nolang
{
  "totalSize": 1,
  "records": [{
    "displaySequence": -1,
    "localeCode": "fr",
    "domain": "CPQ",
    "totalSize": 22,
    "dictionary": {
      "failed products": "failed products fr",
      "IPhone 6 >>  4 GB && 128 GB": "abc_translate_IPhone 6 >> 4 GB && 128 GB",
      "IPhone 6 >> \nRAM 4 GB &&  Memory 128 GB": "IPhone 6 >>  4 GB && 128 GB fr",
      "this is <description> for P ^ P promotion": "this is <description> for P ^ P promotion <fr>",
      "this is <description> for May & June": "this is <description> for May & June _fr",
      "TestProd-4": "ptestprod-fr",
      "TestProd-11": "ytestprod-fr",
      "May & June": "fr_May & June",
      "this is test promo 1": "this & is & test < promo 1",
      "this is test promo 2": "this < is > test promo2",
      "Promo-5": "Test & Promo 5",
      "Promo-6": "Test < Promo 6",
      "TestProd-2": "atestprod-fr",
      "TestProd-20": "htestprod-20",
      "TestProd-1": "ztestprod-fr",
      "Demo-B": "demo-B_fr",
      "Demo-A": "é;chantillon-a",
      "TestProd-10": "TestProd-10_fr",
      "May17SpecialChars <= this text will be cut out": "serasdfwe",
      "TestProd-3": "gtestprod-3_fr",
      "SPE-26": "spe<26>",
      "Acc-1": "hr_fr"
    }
  }]
}
```
