website logo
➡️ purplepublish.com
Overview
Support
Setup
Editorial
Experience
Growth
Developers
Navigate through spaces
⌘K
Purple Experience
Views
Widget Component
Generic Widget
Structure of Dynamic resources
experience.config
Configure recurring texts in the messages.json
Purple Experience Builder
Using the Purple Experience Builder
Update your Purple Experience Version
Edit 'dynamic resources' from Purple Manager
Edit 'dynamic resources' in Experience Builder
Deploy Resources to Multiple Brands
Experience Builder Pipelines
Basic Experience Set-up
App onboarding configuration
Configure SEO attributes
Configure Error Pages
Configure the Side Menu in the Purple Experience
Configure a login page in Experience Builder
App menu configuration in Dynamic Resources
Configure the feedback email in the app with Experience Builder
Configure a coupon code page in Experience Builder
Configure a custom domain
Branding of your Experience
Experience Styling
Change the brand logo in the HTML Experience with Experience Builder
Configure brand colours in the HTML Experience with Experience Builder
Deposit a font in the HTML Experience with Experience Builder
Configure legal information pages in Experience Builder
Builder Pipelines Architecture Info
Simple static ads in Experience
Traffective ads in Experience
Action URLs and Deep linking
List of Action URLs
Deep linking
Migration
Docs powered by
Archbee
Structure of Dynamic resources

Configure recurring texts in the messages.json

10min

Purple Experience Builder



Summary

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.



How-to guide

1. Go to Experience Builder, choose your app from the list and click on it

Choose your app


2. Click on 'Pull from preview'

Click on 'Pull from preview'


3. Click on 'default'

Click on 'default'


4. Click on 'storefront'

Click on 'storefront'


5. Click on 'assets'

Click on 'assets'


6. Click on messages.json

Click on messages.json


7. Scroll down in the list of text keys to the keys beginning with 'SEARCH'

Scroll down in the list of text keys to the keys beginning with 'SEARCH'


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

Go to 'SEARCH_FIELD_PLACEHOLDER' and overwrite it with your own desired text


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

Go to 'SEARCH_RESULTS_EMPTY_TITLE' and overwrite the text with your own desired text


10. You can repeat Step 8 or 9 for each text key that you wish to change.

11. When you are done with the change, click on the preview symbol.

Click on the preview symbol.


12. Click on 'Search'

Click on 'Search'


13. Check the Search view to make sure the changed text keys look as expected

Make sure the changed text keys look as expected


14. Click on the burger menu

Click on the burger menu


15. Click on 'Update Dynamic Resources'

Click on 'Update Dynamic Resources'


16. Name your changes, e.g. 'configured-messages-json'

Name your changes


17. Click on 'Merge all files to preview'

Click on 'Merge all files to preview'


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.



Updated 30 Aug 2023
Did this page help you?
PREVIOUS
experience.config
NEXT
Purple Experience Builder
Docs powered by
Archbee
TABLE OF CONTENTS
Summary
How-to guide
Docs powered by
Archbee
ImprintPrivacy Policy
© Sprylab Technologies GmbH 2023