Modify and Update a Resource Bundle
Overview
The HST dynamic resource bundles support allows you to edit existing Resource Bundle Documents using the Resource Bundle Editor plugin. After you re-publish the updated document, all changes are immediately reflected on pages that use the resource bundle. You do not need to redeploy the application.
Steps to Modify and Update a Resource Bundle
-
Locate the Resource Bundle document that contains the message you want to update.
-
Click the Edit button in the menu to enter edit mode.
-
Perform any of the following actions:
-
To add or remove value sets (locales), use the "+" and "x" buttons in the "Manage Value Sets" section.
- Note: When you add a new locale, set a value for every key by clicking the edit button in each corresponding row.
-
To add or remove keys, use the Remove button ("x") in the Actions column.
-
To change the value for an existing key, click the Edit button for that key.
-
-
After you finish your changes, re-publish the document:
-
Click Save & Close in the header of the Document Editor Area.
-
Then select "Publication" > "Publish".
-
-
The document is now published. All pages that use this resource bundle will immediately reflect your changes.
Compare Versions of a Resource Bundle
Info: Available as of Bloomreach Content 17.3.0 and 16.9.5.
Resource Bundle Documents support the same compare view as other documents. Use it to review your changes before you publish, or to check what restoring an earlier revision would change.
Review Changes Before Publishing
When a published Resource Bundle Document has unpublished changes, the Document Viewer compares the current version with the published version. You don't need to switch modes: the comparison appears as soon as you open the document.
The compare view marks:
-
Keys that were added or removed, and values that changed.
-
Translations that were switched on or off. The indicator shows the change as before → after.
-
Value sets that exist in only one of the two versions. A banner above the table explains which version the value set belongs to.
The Value Set selector lists the value sets of both versions, so you can also select a value set that was added or deleted.
Compare With an Earlier Revision
-
Open the Resource Bundle Document.
-
From the Document menu, select Show revision history....
-
In the Revision history dialog, select a revision.
The Document Viewer shows the content of the selected revision. The highlighting shows what restoring this revision would change compared with the current version. To make the revision the current version, click Restore.