If you need to exclude child blocks from localization when translating a page—while still keeping them available for separate translation—there are two ways to do this:
- Exclude an entire content type to prevent all blocks of that type from being localized within the translation of a page.
-
Exclude a specific block by setting a property to remove it from localization within the translation of a page.
Excluding Block Content Types from Localization When Translating a Page
If you need to exclude all blocks of a specific content type from localization within a page, follow these steps:
1. Open Localization Hub Settings in the iLangL gadget and navigate to the Content Settings tab.
2. Move the content types that should be excluded from localization from the "Available block types" list to the "Excluded block types" list.
3. Click Update.
Now, when creating a translation project, the child blocks of the excluded content type will no longer appear in the list of child blocks when you select the page for translation. However, these blocks are still available for localization and can be requested individually if needed.
Excluding a Specific Block from Localization When Translating a Page
If you need to exclude a specific block while keeping others of the same content type available for localization within a page, follow these steps:
1. Create a Property for Excluding a Block
1) Open Optimizely Settings.
2) Locate the block content type where you want to create the exclusion property.
3) Open the content type for editing and go to the Properties tab. Click Add Property. Select Choice as the property type.
4) Enter "ExcludeFromLocalization" as the property Name.
5) Choose Selected/not-selected as the choice type.
6) Check Display in edit view.
7) Set a Display Name, such as "Do not translate", to indicate the purpose of this property.
8) In the Property Group, select Content.
9) Click Save.
2. Enable the ExcludeFromLocalization Property
1) In the Optimizely Edit section, find the block(s) you want to exclude from localization. Open the block for editing.
2) Locate the ExcludeFromLocalization property and enable it.
Now, when creating a translation project, the excluded block will not appear in the list of child blocks when you select the page for translation. However, the block is still available for localization and can be requested individually if necessary.
Comments
0 comments
Please sign in to leave a comment.