SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Scenario: Running SharePoint 2010 with the Hebrew language pack installed. On a particular site, English is set as the default language, but Hebrew is available for users as an Alternative Language.

Issue: In C# on a custom project, how can I identify when a user has selected a right to left language as their alternative language?

The following all return false:

  1. SPContext.Current.RegionalSettings.IsUIRightToLeft
  2. SPContext.Current.RegionalSettings.IsRightToLeft
  3. SPContext.Current.Web.RegionalSettings.IsUIRightToLeft
  4. SPContext.Current.Web.RegionalSettings.IsRightToLeft

And these return null:

  1. SPContext.Current.Web.CurrentUser.RegionalSettings.IsUIRightToLeft
  2. SPContext.Current.Web.CurrentUser.RegionalSettings.IsRightToLeft

Any ideas?

share|improve this question
To clarify: I need the best way to 1) identify if the default language is RTL -and- 2) identify if the selected alternative language is RTL. Thanks! – John Chapman Jun 15 '12 at 17:19
up vote 1 down vote accepted

After searching for hours, then posting this question, and searching for a few minutes more, I found the answer at

Basically here is what I did and it works:


Works perfectly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.