0
bilalhaidar created
Hi, I noticed in the Features class, the following property:
/// <summary>
/// Display name of the feature.
/// This can be used to show features on UI.
/// </summary>
public ILocalizableString DisplayName { get; set; }
Reading through the comments, this allows us to have a localized string.
How would I then be able to localize such a property? I mean what are the steps required for localization? Or just by having a key of "DisplayName" in the .xml files, it works automagically? Or how?
Thanks
2 Answer(s)
-
0
Hi,
You can check the definition of "ChatFeature" feature for this. Basically when defining a Feature, set it's display name like L("ChatFeature") and add values with key "ChatFeature" in localization xml files and it will work like you said.
-
0
Oh okay. So instead of just assigning a normal string, I assign an L("string").
Thanks, I got it.