The name of the key in the language file should be "displayname", not "title"
I changed my code to
[GuiPlugIn( Area = PlugInArea.AdminMenu, Url = "/Modules/Plugins/DictionaryPlugin", LanguagePath = "/", DisplayName = "displayname", Description = "description")]
<?xml version="1.0" encoding="utf-8"?> <languages> <language name="English" id="en"> <displayname>Dictionary</displayname> <description>Description</description> </language> <language name="Svenska" id="sv"> <displayname>Språkuppslag</displayname> <description>Beskrivning</description> </language> </languages>
But it still renders the display name, not the localized value.
Thanks for your help!
Try to set LanguagePath property of GuiPlugIn attribute to an emtpy string. Internally LanguagePath value is concatenated with "/displayname", so the extra slash might be the reason for the issue.
Maybe someone could fix the documentation so that the example value of a LanguagePath doesn't contain the ending slash: "/myshop/plugin/ShopPluginTree";-)
I've followed this guide to make my plugin name localized http://sdk.episerver.com/library/cms5/html/T_EPiServer_PlugIn_GuiPlugInAttribute.htm.
But it doesn't work, it just return my display name. This is my code
My episerverframework.config says (this works with all other localized strings)
It's in this folder I've added my language files in one of them this is part of the content
What do I need to change to make it work?