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

my problem is that how to create custom calender in share point to use it.

I want to replace standard sharepoint calender with persian calender to work with it in all sharepoint parts.

any help would be appreciate.

share|improve this question
up vote 1 down vote accepted

I found a solution on a following issue to change the default language to alternate language programmatically using which the sharepoint designer's actions and conditions language doesn't change below is the javascript code:


function ChangeLanguage()


//script fetches current display language

var lcid =_spPageContextInfo.currentLanguage;

//1033 language code for Persian



var today = new Date();

var oneYear = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000);

var url = window.location.href;

//script changes current display language to arabic i.e 1025

document.cookie = "lcid=" + 1025 + ";path=/;expires=" + oneYear.toGMTString();

window.location.href = url;


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.