Apollo Software Normal layoutMedium LayoutLarge Layout    Normal TextLarge Text
Startpagina | DotNetNuke | Over ... | Downloads | Forum | Blog
United States Netherlands
Registreren | Inloggen

Forum Tags

 
boolean   error   file   help   just   language   menu   mlhtml   module   modules   need   object   page   pagelocalization   problem   site   skin   string   version   work  

  

Need live support?

Please feel free to add my support e-mail address to your MSN contacts. If you catch me online, I'll be able to solve your problems faster than through this forum. Please appreciate that I only give free support on our own modules!

My msn account: support@apollo-software.nl. Alternatively, you can click the botton below, it will open up a Live Messenger window (Windows Live ID required)

  

My own module
Last Post 2010-03-03 14:33:13 by erikvb. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
alexukie
New Member
New Member
Posts:1

--
2010-03-03 13:58:46  

Hi,

We are writing our module - and I would like to use PageLocalization to check which language is selected to display correct language to the user:

e.g. if language = "English" response.write "Hello" else response.write "Bonjour"

 

Let me know

Thank you 

erikvb
Advanced Member
Advanced Member
Posts:713
Avatar

--
2010-03-03 14:33:13  
no need to use PageLocalization for that, thats a feature that is actually built in ASP.NET, and DotNetNuke is just using it. You can use Threading.Thread.CurrentThread.CurrentCulture to check which culture the current thread is in. the Name property of the culture is the culturecode you are looking for

for more info see http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx
Erik van Ballegoij,
a view from my attic, my personal blog

The personal blog of Erik van Ballegoij

You are not authorized to post a reply.

Active Forums 4.1
NOT LICENSED FOR PRODUCTION USE
www.activemodules.com
  

Copyright 2002-2007 Apollo Software
Gebruiksovereenkomst  |  Privacybeleid
Page generated in 1,583377 seconds.