Kentico CMS 6.0 Developer's Guide

Language versions comparison

Language versions comparison

Previous topic Next topic Mail us feedback on this topic!  

Language versions comparison

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Language versions comparison enables content editors to view and edit two different language versions of a document side-by-side. This is convenient when translating website content into multiple languages, as it eliminates the need to switch to the original language version to read source content and back to write its translation.

 

To switch to the language versions comparison mode, select a document in the content tree and click the Compare (Compare) button in the Language toolbar. It results in the language versions comparison toolbar being displayed (as highlighted in the following screenshot), while the document editing area below the toolbar gets split into two parts. The left part displays the document in the language selected in the Language toolbar, while the right part displays the language selected using the drop-down list in the language versions comparison toolbar. Both displayed language versions can be edited independently at the same time.

 

devguide_clip0959

 

On the language versions comparison toolbar, you can find the following controls:

 

SplitViewHorizontal Horizontal layout

Splits the editing area horizontally (as in the screenshot below). The top part displays the document in the language selected in the Language toolbar, while the bottom part displays the language selected using the drop-down list in the language versions comparison toolbar.

SplitViewVertical Vertical layout

Splits the editing area vertically (as in the screenshot above). The left part displays the document in the language selected in the Language toolbar, while the right part displays the language selected using the drop-down list in the language versions comparison toolbar.

SyncCheck Synchronize scrollbars

If enabled, scrollbars in both parts of the editing area will be synchronized, resulting in the same sections of both language versions being displayed while scrolling.

Comparison language drop-down list

Using this drop-down list, you choose which language version of the currently selected document will be compared with the language version selected in the Language toolbar.

Close_Compare Close comparison mode

Closes the comparison mode and returns to the standard view of a single language version. The same can be achieved by clicking the Compare (Compare) button in the Language toolbar again.

 

devguide_clip0961

 

If you select a document whose version in the comparison language is not created yet, the standard New culture version dialog is displayed in the respective part of the editing area, letting you create a new empty document or copy content from another language.

 

devguide_clip1019

 

Language versions comparison mode is available in all three view modes: Edit, Preview and Live site. In Edit mode, you can use it on the Page, Design, Form, Master page (displayed only when editing the root document) and Properties tabs. On the Properties tab, it is available on all sub-tabs except for Linked docs, Related docs, Security and Languages, as document configuration performed on these tabs is shared by all language versions of the document.

 

devguide_clip0963