Click here to Skip to main content
12,881,253 members (29,781 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

7.6K views
3 bookmarked
Posted 22 Feb 2011

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.

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


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.

License

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

Share

About the Author

Adel Refaat
Australia Australia
No Biography provided

You may also be interested in...

Pro

Comments and Discussions

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