---
title: messages.json: static texts
slug: experience/messagesjson-static-texts
description: With maintaining your messages.json, you can reuse terms in different views an access them as variables in your Experience.   In this article, you learn how to edit text belonging to text keys in the messages.json in Experience Builder. 
docTags: 
createdAt: 2022-10-11T13:27:26.000Z
---

By maintaining your messages.json, you can reuse terms in different views and access them as variables in your Purple Experience.&#x20;

In this article, you learn how to edit text belonging to text keys in the messages.json in Purple Experience Builder.&#x20;

## Edit Messages

### Prerequisites

- Validate `urls.json` to reference the path for `messages.json`.

### How to

- Open messages.json from `default/storefront/assets `or from the path you have defined.&#x20;
- Choose a message to change, i.e., through filtering 'SEARCH.'

![Scroll down in the list of text keys to the keys beginning with 'SEARCH'](https://images.tango.us/workflows/afd708cd-dd0c-492e-8b72-ca362715c13c/steps/cd0509fd-db32-44a6-94c2-542d884b63b9/cdb59770-484b-408f-9264-b6b729b96c47.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2880%3A1319)

- &#x20;Go to the text next to 'SEARCH\_FIELD\_PLACEHOLDER' and change it, e.g. 'Search'

![Go to 'SEARCH\_FIELD\_PLACEHOLDER' and overwrite it with your own desired text](https://images.tango.us/workflows/afd708cd-dd0c-492e-8b72-ca362715c13c/steps/b1ece367-ad08-47c3-adeb-58a1d08ec06a/52a9a78d-269a-4c34-ac7a-239310f83c65.png?crop=focalpoint\&fit=crop\&fp-x=0.5000\&fp-y=0.5000\&fp-z=1.0000\&w=1200\&ar=2079%3A1427)



- Repeat that for each text value that you wish to change. You can also add new keys from the interface by pressing the "+" button on the top-right corner. Fill them accordingly with values.&#x20;
- Verify your changes in Preview and merge or push as usual.&#x20;

:::hint{type="success"}
You have now changed the text in the Purple Experience of your app by editing the text for some keys in the messages.json. You can review the results in your app preview and push them live if you are happy with them to make them visible to your users.
:::

# Using placeholders

Keys that contain `%s`, `%1$s`, `%2$s`, or similar placeholders will have dynamic values injected at runtime - these must be preserved in your custom translations. For an example, see [Placeholders in messages](docId:5GAqjuTVdSQQdh8yEJH3z). For variable reference, see [Placeholder Syntax reference](docId:5HMFwPwPQCGq6VrOpiFM2)&#x20;

## How to change a value

In `messages.json`, enter the key name and your desired value. Changes take effect immediately on the next app load.

Example:

```javascript
BOOKMARK_CREATION_DATE_MESSAGE = Erstellt am %s
```

