Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

ExactTarget - What's Your Score
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
ExactTarget - What's Your Score
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  Multilanguage support
Previous Previous
 
Next Next
New Post 3/6/2008 2:54 AM
User is offline ErikVB
2474 posts
www.apollo-software.nl
5th Ranked










Re: Multilanguage support 

In dnn 4.7, some extra code was added to DotNetNuke.Modules.Admin.Authentication.Login (\admin\Authentication\Login.ascx.vb), in order to allow for correct language setting after user login.

In dnn 4.8.1, after the user is succesfully validated, he is redirected to the return url. This happens in line 534 of flie \admin\Authentication\Login.ascx.vb:

Response.Redirect(RedirectURL, True)

Here lies the pain. RedirectUrl is a protected property in the same class, so you can not reference it from another class. However, it contains some key functionality. From line 179:

'replace language parameter in querystring, to make sure that user will see page in correct language

If UserId <> -1 Then

      If User.Profile.PreferredLocale <> CultureInfo.CurrentCulture.Name Then

            _RedirectURL = UrlUtils.replaceQSParam(_RedirectURL, "language", User.Profile.PreferredLocale)

      End If

End If

What happens here is that the language parameter from the return url is changed into the preferred locale of the logged on user. If you are writing your own logon, you should at least mimic this behaviour, otherwise the user will not switch to the correct language.

 


Erik van Ballegoij, Apollo Software
If what i am saying is wrong: blame Google
MLSkinHelper: the easy way to put editable text in your skin!
Nederlandse DotNetNuke Gebruikersgroep Apollo Software
 
New Post 3/16/2008 9:19 PM
User is offline uchitha
17 posts
10th Ranked


Re: Multilanguage support 

Hello Erik,

I have tried your suggestion and it works like a charm! Thank you very much for the info.

Uchitha.Submit

 
New Post 3/16/2008 10:11 PM
User is offline ITR
20 posts
10th Ranked


Re: Multilanguage support 

Thank you very much Erik , that was the trick.

I just mimic what you explained above, in my code and it is working perfectly.

 

 
New Post 5/7/2008 2:29 AM
User is offline Declic Video
883 posts
declic-video-fx.com
7th Ranked


Re: Multilanguage support 

Erik,

Sorry to write to you this way, but I am unable to contact you through email and I am not sure that you often check the MLHTML forum of your website.
Could you please have a look to the following problem with MLHTML and search ???

Thanks,
DV FX

 
New Post 5/7/2008 4:57 AM
User is offline Sebastian Leupold
12276 posts
www.deutschnetnuke.de
1st Ranked












Re: Multilanguage support 

DV FX,

Erik is on vacation until end of the week, i.e. please be patient.


Sebastian Leupold



DotNetNuke Project UserDefinedTable
DotNetNuke Project XML/XSL
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  Multilanguage support
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke® logo are registered trademarks of DotNetNuke Corporation
Hosted by MaximumASP