In DotnetNuke Localization support, every resource key (in
) should end with an extension.
– Represents a
used for a common purpose
– Used mostly in conjuncture with the DNN:Label control, which supplies a help icon () and tooltip.
– Used for a control’s
– Used to represent the
property of a
item shown in an actions menu.
– Text that is displayed as an error message. This might be for a label or, more commonly, for one of the ASP.NET validation controls.
– Text that gives more detail about an error message.
If we add a resource key in a resx file of the
and didn’t give it an extension (like one of the above or any other one), we cannot get its value back by the DNN Localization logic of the:
DotNetNuke.Services.Localization.Localization.GetString(key, <global resource file name>);
Further, if we call the
function with a key without an extension, it will assume that we are asking about the one with the extension "
So the call of
is equivalent to