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.
- 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
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!




















































July 3rd, 2008 at 6:21 am
[...] Internationalization (Part 2) [...]
July 3rd, 2008 at 6:27 am
[...] Internationalization (Part 2) [...]