DotNetNuke Modules – Internationalization (part 2)

Last Thursday, we looked at how you could change the text of the modules in dotnetnuke.  Today, we want to show you how to add that same capability to your own modules.

When you created your module, one of the directories that was created for you was a directory named “App_LocalResources”.  In this directory are three resx files that should hold the strings you will be using in your modules.

If you open up one of them, you will see several strings that have already been added for you.

You’ll remember that last week, we looked at the action menus.  One of the parameters that we passed in to create the action menu looked like:


That ModuleActionType.AddContent actually is the string “AddContent.Action” which you will find in the “ViewDMBSample.ascx.resx” file.  You will see that “AddContent.Action” resolves to “Add Content” in the resx file.


Other post in dotnetnuke - Module Development

Related Post

4 Responses to “DotNetNuke Modules – Internationalization (part 2)”

  • [...] Internationalization (Part 2) [...]

  • Creating resource files for standard .Net controls:


    This tutorial seems unfinished. Will you be coming back to it?

    Regardless, it is very useful, thanks. I have one question:

    Can you create resource files for standard controls – like the Asp Label control? Or do you have to use the DNN label control? The reason I ask is because the DNN labels come with those help images and other formatting which I could really do without.

  • Dave:

    This is one of several articles on the topic. The very next article in this series covers your question.

    See that list of links that are right before the comments? That’s all the articles in the series on creating DNN Modules.

  • Oops:


    sometimes it pays to actually read things- thanks

Leave a Reply

Comment Policy:

  • You must verify your comment by responding to the automated email that is sent to your email address. Unverified comments will never show.Leave a good comment that adds to the conversation and I'll leave your link in.
  • Leave me pure spam and I'll delete it.
  • Leave a general comment and I'll remove the link but keep the comment.

Notify me of followup comments via e-mail