World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
Looks like posting forum threads is the way to solve problems.
Name and Description no longer work but LanguagePath does, so this is the solution:
[ServiceConfiguration(typeof(ViewConfiguration))]
public class SendToTranslationView : ViewConfiguration<IContentData>
{
public SendToTranslationView()
{
Key = "SendToTranslationView";
ControllerType = "epi-cms/widget/IFrameController";
ViewType = "/MyPlugin/ContentTranslationHistory/Index";
IconClass = "epi-iconCatalog epi-icon--medium";
LanguagePath = "/Translations/ContentView";
}
}
/Kristoffer
Hi!
I have upgraded our plugin to CMS 12 and the followinmg added menu option does no longer get translated it is alway the same language no matter what UI language I select.
On startup currentCulture is sv-SE but after login the above code is run again and then with en as currentCulture.
It worked just fine in CMS 11, has the ViewConfiguration changed in CMS 12?
Thanks!
/Kristoffer