The extension has two versions that differ only when the extension itself renders its results. The Auto Load version renders immediately, whereas the Manual Load version requires the user to click Refresh
before any results are returned.
To use the edit-time navigation creation extension:
- Add a text element named ML Translations to an authoring template.
- Edit the element properties and add the following code to the custom JSP field:
For the Auto load version
For the Manual load version
- Save the authoring template and reapply the template to all content using it ensuring the Add new elements option is selected.
How it works
Every time you open a content item that uses this extension in the authoring portlet, all libraries configured in the current multilingual configuration file are searched for all matching content. To be matching it must be in the same site area path and have the same name.
If a matching content item is found, then information about the content, item including a link to open that item in read mode, is displayed. If the existing content item is a link, then information about the originating content item is displayed instead.
If no matching content items are found, and you have edit access to the content item, you can either create a copy or link of the content item in each localized library:
Clicking Copy creates a draft with the same name as the current item under the equivalent site area in the localized library.Link
Clicking Link creates a content link to the current content under the equivalent site area in the localized library.Parent topic: Extensions for multilingual sites