MM5.6 Examples
Boolean example
Value: ASSET_LIST_FACET_Published
Text: {value, select, 1 {YourTrueText} 0 {YourFalseText}}
Another example
Value: sIsPublic
Text: Shareable and downloadable
Value: ASSET_LIST_FACET_sIsPublic
Text: {value, select, 1 {Yes} 0 {No}}
Non-metafield labels
If you want to change the labels for Asset type or Upload date, then this needs to be updated in the ASSET_LIST_FILTER_PPROPERTY_TITLE (most likely found on page 3 of the Media Manager labels). The default value of it is:
{property, select, assetId {Asset ID} itemId {Item ID} originalFileName {Original file name} assetType {Asset type} derivedFrom {Parent asset} replacedWith {Show old versions of} extension {Extension} uploader {Upload user} uploadComputer {Upload product} channelFolder {Channel folder} uploadDate {Upload date} fileSize {Original file size} lastChangedDate {Last updated} width {Pixel width} height {Pixel height} duration {Duration} deleted {Deleted}}
This needs to be updated if you want to translate the Media Manager into other languages e.g.
For Upload date, if you want to change the labels for the different selection (Last 24 hours, Last 7 days, Last 30 days, Older than 30 days, Custom) then this can be changed in the label: ASSET_LIST_FILTER_DATE_TIME_RANGE (most likely found on page 3 of the Media Manager labels). The default value of it is:
{preset, select, last-24-hours {Last 24 hours} last-7-days {Last 7 days} last-30-days {Last 30 days} more-30-days {Older than 30 days} custom {Custom}}
Debugging
If you are getting blank values - you can add this to find out what is missing. Alternatively, you can also just check the console log.
Text: other {{value}}