I have been playing around with Editframe
buttons in a Sitecore 8 for a multilingual project and I have the feeling that Edit Frame buttons do not work properly on sitecore multilingual sites.
My experience is that when I am on a localized page and I click on an EditFrame
button, it will open the default language Item
instead of the localised item. I am of the impression that this is what happen when you click on Edit the Related Item
in the Experience Editor
.
I encountered your scenario very recently.
Yes, all the Fields I set up within the Edit Frame Buttons in the Core worked correctly with my Multilingual Site
You need to add your Field Names into the Edit Frame Button
Items in the Core
database, found at the out-of-the-box path; /sitecore/content/Applications/WebEdit/Edit Frame Buttons/Default/Edit
. Make sure your sc:Edit
component references this path in the Buttons
property
You may use different Display Names
of the Fields for each of your languages for ease of use in the Content Editor / Experience Editor but as long as they are display Names it should be fine. If they are not and it doesn't work I recommend putting the Field Name
for each language in the Edit Frame
Item.
No, in both instances the Item will be loaded in the correct Language as well as when you create a new Datasource
Item to be referenced by your Component
.
The biggest issue that is present is when Edit the Relating Item
and make changes to Rich Text Editor
field or TreeEx
field is that when you save it, it saves it to the default en
language, even creating a Language Version for it if it does not exist.
I have raised this issue with Sitecore Support and they are currently investigating. When they have a fix I'll update you with their solution.
EDIT
The Support Patch to resolve the issue Edit the Relating Item saving changes to the wrong language version of the Item can be found here - https://kb.sitecore.net/articles/814090