Click here to Skip to main content
Click here to Skip to main content

Tagged as

Localization support in DotNetNuke

, 22 Feb 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
Localization support in DotNetNuke
In general, DNN disables the ASP.NET localization (the resources files) by disabling the build providers of the extensions (.resx and .resources) in the web.config.

        <remove extension=".resx"/>
        <remove extension=".resources"/>

So the calls of HttpContext.GetGlobalResourceObject() and HttpContext.GetLocalResourceObject() will always return null!

If we need to support localization in DNN solutions, we have to use the DNN localization class (DotNetNuke.Services.Localization.Localization) to do so.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Adel Refaat

Australia Australia
No Biography provided
Follow on   Twitter   Google+

Comments and Discussions

-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150414.1 | Last Updated 23 Feb 2011
Article Copyright 2011 by Adel Refaat
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid