How can I add a column to show the Translate Y/N setting for an image?

You can create an index to display the Translate Y/N setting.

Symptom

I want to display a column in my Search Results view that will show Y or N for the Translate value for images.

Problem

This index is not defined in the default configuration and must be added manually.

Solution

In the TEXTML Administration perspective, perform the following:
  1. Edit the Index Definition file to add the following index:
    <index NAME="translatable" SYNC="False">
    	<stringindex KEEPEXTRACTEDVALUES="True">
    		<elements>
    			<element XPATH="string(//imagebody/@translate)" DEPTH="0"/>
    		</elements>
    	</stringindex>
    </index>
    
  2. To add the index to the display columns, edit the system/conf/display.xml file and add the following:
    <key halign="LEFT" label="Translate Y/N" name="translatable" sortOrder="ASC" sortType="ALPHA" type="Index" visibility="255" width="90"/>
  3. Right-click on your Content Store. Click Rebuild All Indexes.
  4. When the index has finished indexing, restart your DITA CMS Eclipse Client and add the new column to your Search Results view.