Skip to main content
Tweeted twitter.com/StackSharePoint/status/659652105679085568
edited
Source Link
Amal Hashim
  • 28.4k
  • 5
  • 32
  • 61

How can I get the selected language in the screenshot, from inside of a webpart?

alt text http://thomasstock.net/currentlanguage.png

I'm using sharepointSharePoint 2010. My My webpart is a "visual web part" created in VS2010.

I'm trying things like "SPContext.Current.Web.CurrentUser.RegionalSettings"SPContext.Current.Web.CurrentUser.RegionalSettings and "SPContext.Current.Web.Language"SPContext.Current.Web.Language" but ofcourse these things have nothing to do with that setting. :-|

Can someone please help me? What magical property am I looking for..

How can I get the selected language in the screenshot, from inside of a webpart?

alt text http://thomasstock.net/currentlanguage.png

I'm using sharepoint 2010. My webpart is a "visual web part" created in VS2010.

I'm trying things like "SPContext.Current.Web.CurrentUser.RegionalSettings" and "SPContext.Current.Web.Language" but ofcourse these things have nothing to do with that setting. :-|

Can someone please help me? What magical property am I looking for..

How can I get the selected language in the screenshot, from inside of a webpart?

alt text http://thomasstock.net/currentlanguage.png

I'm using SharePoint 2010. My webpart is a "visual web part" created in VS2010.

I'm trying things like SPContext.Current.Web.CurrentUser.RegionalSettings and SPContext.Current.Web.Language" but ofcourse these things have nothing to do with that setting. :-|

Can someone please help me? What property am I looking for.

deleted 32 characters in body; edited tags; edited title
Source Link
Alex Angas
  • 6k
  • 9
  • 50
  • 89

get Get the current UI language infrom a webpart

I'm going a bit insane here.

How can I get the selected language in the screenshot, from inside of a webpart?

alt text http://thomasstock.net/currentlanguage.png

I'm using sharepoint 2010. My webpart is a "visual web part" created in VS2010.

I'm trying things like "SPContext.Current.Web.CurrentUser.RegionalSettings" and "SPContext.Current.Web.Language" but ofcourse these things have nothing to do with that setting. :-|

Can someone please help me? What magical property am I looking for..

get current UI language in a webpart

I'm going a bit insane here.

How can I get the selected language in the screenshot, from inside of a webpart?

alt text http://thomasstock.net/currentlanguage.png

I'm using sharepoint 2010. My webpart is a "visual web part" created in VS2010.

I'm trying things like "SPContext.Current.Web.CurrentUser.RegionalSettings" and "SPContext.Current.Web.Language" but ofcourse these things have nothing to do with that setting. :-|

Can someone please help me? What magical property am I looking for..

Get the current UI language from a webpart

How can I get the selected language in the screenshot, from inside of a webpart?

alt text http://thomasstock.net/currentlanguage.png

I'm using sharepoint 2010. My webpart is a "visual web part" created in VS2010.

I'm trying things like "SPContext.Current.Web.CurrentUser.RegionalSettings" and "SPContext.Current.Web.Language" but ofcourse these things have nothing to do with that setting. :-|

Can someone please help me? What magical property am I looking for..

Source Link
thomas.stock
  • 107
  • 1
  • 2
  • 7

get current UI language in a webpart

I'm going a bit insane here.

How can I get the selected language in the screenshot, from inside of a webpart?

alt text http://thomasstock.net/currentlanguage.png

I'm using sharepoint 2010. My webpart is a "visual web part" created in VS2010.

I'm trying things like "SPContext.Current.Web.CurrentUser.RegionalSettings" and "SPContext.Current.Web.Language" but ofcourse these things have nothing to do with that setting. :-|

Can someone please help me? What magical property am I looking for..