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:
Localization.GetString(ModuleActionType.AddContent, this.LocalResourceFile)
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
- Creating DotNetNuke Modules - May 20th, 2008
- Creating DNN Modules - The Tools - May 22nd, 2008
- DotNetNuke Modules - Foundational Concepts - May 26th, 2008
- DotNetNuke Modules - Install DNN into VS 2008 - May 27th, 2008
- DotNetNuke Modules - Creating Base Modules - May 28th, 2008
- DotNetNuke Modules - Registering Your Module - May 29th, 2008
- DotNetNuke Modules - Where Stuff Shows Up - June 3rd, 2008
- DotNetNuke Modules - Benefits of Architecture - June 4th, 2008
- DotNetNuke Modules - Anatomy of the View - June 9th, 2008
- DotNetNuke Modules - Adding Actions - June 11th, 2008
- DotNetNuke Modules - DNN Controls - Label - June 18th, 2008
- DotNetNuke - Internationalization - June 25th, 2008
- DotNetNuke Modules - Internationalization (part 2) - June 30th, 2008
- DotNetNuke Modules - Labels w/ no Help - July 9th, 2008
- DotNetNuke Modules - LinkButtons - July 14th, 2008
- DotNetNuke Modules - Collapsible Panels - July 16th, 2008
- DotNetNuke - The Data Layer - Installing CodeSmith - July 22nd, 2008
- DotNetNuke - Modules - Creating The Tables - July 24th, 2008
- DotNetNuke - Modules - Creating Stored Procs - July 29th, 2008
- DotNetNuke - Modules - Portal Specific Modules - July 31st, 2008
- DotNetNuke Modules - Data Access Layer - August 5th, 2008
- DotNetNuke Modules - Data Access Layer - August 7th, 2008
- DotNetNuke - Data Access Layer Alternative - August 12th, 2008
- DotNetNuke - Modules - Linking within the module - August 14th, 2008
- DotNetNuke - Make Your Module Searchable - August 19th, 2008
- DotNetNuke Modules - Making Content Portable - August 25th, 2008
- DotNetNuke Modules - Exceptions the DNN Way - September 2nd, 2008
- DotNetNuke Modules - PortalModuleBase - September 4th, 2008
- DotNetNuke Modules - Inter Module Communication - September 9th, 2008
- DotNetNuke Modules - Finding The Page a Module is On - September 15th, 2008
- DotNetNuke Modules - Caching - September 17th, 2008
- DotNetNuke Modules - Module Settings - September 22nd, 2008
- DotNetNuke Modules - Retrieving Settings - September 24th, 2008
- DotNetNuke Modules - Advanced Architecture - October 20th, 2008
- DotNetNuke Modules - Creating the PA - October 30th, 2008
- DotNetNuke Modules - Automating the PA - November 5th, 2008
- DotNetNuke - FileUploadControl Danger! - February 26th, 2009
- DotNetNuke SecurityException AspnetHostingPermission - October 14th, 2009
- Changing an Existing DNN Module - March 4th, 2010
Other Related Items:
Universal Learning Bypass ModuleUniversal Learning Bypass Module, works on all vehicles equipped with a factory anti-theft system, Automatically learns resistance values without setting dip switches or using a volt meter.
Access Virus Version C Desktop SynthEqually comfortable in professional studios or beside a home computer, as well suited to clubs and concerts as it is to museum soundtracks, the Virus C Desktop Synth is heir to a legendary line of predecessors, and it inherits their incredible musical traditions with flying colors.










[...] Internationalization (Part 2) [...]
Hi,
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.
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.
sometimes it pays to actually read things- thanks