Click here to Skip to main content
11,805,035 members (56,793 online)
Click here to Skip to main content

Tagged as

Localization support in DotNetNuke

, 22 Feb 2011 CPOL 6.7K 3
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

You may also be interested in...

Comments and Discussions

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