Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.


1 Answer 1

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;



This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .