Click here to Skip to main content
12,300,191 members (53,824 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

7.1K views
3 bookmarked
Posted

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...

Comments and Discussions

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