How to remove "Translation" node for some pages

Topics: Core, Customizing Orchard, General, Localization, Writing themes
Jan 28, 2012 at 3:10 AM
Edited Jan 28, 2012 at 3:11 AM

I would like to remove "Translation: en-US" node that be displayed after translate page. I just need to remove it for some pages.

I tried to use file but it's not enough for me because I have to check something before remove this node.

I'm not sure whether I should create class that implement IShapeTableProvider or not. If so, I would like to know how to remove this node. What about code that it should be? How can I find shape name and display type for this node?

Jan 31, 2012 at 4:39 AM

How about using a match with a path attribute?