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  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
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.
 


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.

 


DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au

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