Try our conversational search powered by Generative AI!

Localization of custom IContent types



What is the correct way to localize custom IContent names and descriptions? Can't find full description of localization file structure anywhere.

For example, you can localize PageType and BlockType names and descriptions like this

<?xml version="1.0" encoding="utf-8" ?>
  <language name="Suomi" id="FI">
      <pagetype name="FooPage">
        <description>Foo description</description>
      <blocktype name="BarBlock">
        <description>Bar description</description>


Mar 20, 2013 9:10

It should be (in XPath format) "/contenttypes/contenttype[@name='{0}']/description" and "/contenttypes/contenttype[@name='{0}']/name". These are defined as NameLocalizationFormat and DescriptionLocalizationFormat on ContentType.cs

Mar 20, 2013 14:00
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.