Hi!
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" ?><languages> <language name="Suomi" id="FI"> <pagetypes> <pagetype name="FooPage"> <name>FooFoo</name> <description>Foo description</description> </pagetype> </pagetypes> <blocktypes> <blocktype name="BarBlock"> <name>BarBar</name> <description>Bar description</description> </blocktype> </blocktypes></languages>
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
Hi!
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" ?>
<languages>
<language name="Suomi" id="FI">
<pagetypes>
<pagetype name="FooPage">
<name>FooFoo</name>
<description>Foo description</description>
</pagetype>
</pagetypes>
<blocktypes>
<blocktype name="BarBlock">
<name>BarBar</name>
<description>Bar description</description>
</blocktype>
</blocktypes>
</languages>