messages.json: static texts
With maintaining your messages.json, you can reuse terms in different views and access them as variables in your Purple Experience.
In this article, you learn how to edit text belonging to text keys in the messages.json in Purple Experience Builder. You will go to the messages.json, change the text for the text keys belonging to the search view in your app, review the text in the preview, update the dynamic resources and merge your changes.
- Open messages.json from default/storefront/assets
- Scroll down in the list of text keys to the keys beginning with 'SEARCH'

3. Go to the text next to 'SEARCH_FIELD_PLACEHOLDER' and overwrite the text with your own desired text, e.g. 'Search'

4. Go to the text next to 'SEARCH_RESULTS_EMPTY_TITLE' and overwrite the text with your own desired text, e.g. 'Search results'

5. You can repeat Step 3 and 4 for each text key that you wish to change. You can also add new values from the interface.
6. Verify your changes in Preview and merge or push as usual.
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 it, to make them visible to your users.