We are in the process of adding multi language support to an ecommerce site. We are trying to make the product name property translatable but not having any success. The products inherit from the standard ProductContent class, so we have tried overriding the name property in our derived classes.
[CultureSpecific]
public override string Name { get; set; }
But when we try editing this in the cms, then switch to switch to another language, the property is still grayed out. Has anyone seen this before. Is it even possible or is there anything happening under the hood that would prevent this from working?
Name is not a metadata-backed property so even if you override it, it is not localizable. DisplayName as Naveed mentioned is, so you might want to use that instead
We are in the process of adding multi language support to an ecommerce site. We are trying to make the product name property translatable but not having any success. The products inherit from the standard ProductContent class, so we have tried overriding the name property in our derived classes.
But when we try editing this in the cms, then switch to switch to another language, the property is still grayed out. Has anyone seen this before. Is it even possible or is there anything happening under the hood that would prevent this from working?