messages.json: static texts
4 min
by 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 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 choose a message to change, i e , through filtering 'search ' scroll down in the list of text keys to the keys beginning with 'search' 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 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 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 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 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 bookmark creation date message = erstellt am %s