Introduction
By default, the name of the property in a content type is used to display the title for the property in the editorial interface. For example, if you define a property with the name NewsImage, then NewsImage is used as the title. You can localize all the properties in a content type class. This can be done either directly in the class file or by creating a new resource in your web application project. If you only want to localize the property names in one language, you should specify the name and description in the property's Render attribute. If you want to localize for more than one language you should specify the indetifier form the property name and description in the Render attribute and then create a resource file with the corresponding identifiers.
namespace ContentTypes
{
[Serializable]
public class News : StandardContent
{
...
}
}
Example 1. A news content type
Localize the properties for one language
Specify the Name and Description for each property on the property's Render attribute. Please see the code example below.
[Persisted]
[Render(Weight = 1, Name = "News image", Description = "This is a news image")]
[DataType("File")]
public ContentRef NewsImage {
get;
set;
}
Example 2. Localize a property for one language
Localize the properties for many languages
You can localize the title and description of each property in a content type class. In the class file, specify an identifier in the Render's Name/Description value and then in a resource file, specify the same identifiers. So, if you have a property named NewsImage, you could specify the values such as NewsImage_Name and NewsImage_Description. Please look at the screenshot below taken from the class file and resource editor.
[Persisted]
[Render(Weight = 1, Name = "NewsImage_Name", Description = "NewsImage_Description", ResourceType = typeof(SandBox.Properties.Resources))]
[DataType("File")]
public ContentRef NewsImage {
get;
set;
}
NOTE! You must set the Access modifer for the resource file to Public. Otherwise lemoon will not have access to the resources.

If you would like to localize for other languages than english, you have to create a resource file for each language and add the language code as a suffix to the file name. For example, if you would like to localize to swedish, create a resource file named Resources.sv.resx.
Localize the menu title
You can also localize the menu title displayed when the editor selects the "Create" menu in the editorial interface. This is done exactly the same way as for a property. Use the Render attribute on the class to localize the Name and Property values. If you don't localize the name, the name of the class will be used in the "Create" menu.