Skip to content
Discussion options

You must be logged in to vote

Hi @FardinFarnezhad ,

To change the DayNames to Persian, set CultureInfo.CurrentUICulture to a Persian culture. I tested with "fa-IR".
To change the Month names to Persian, set CultureInfo.CurrentCulture to a Persian culture. I tested with "fa-IR".
However the displayed year does not change to the Persian year. XCalendar only supports the Gregorian Calendar.

Best to do this before InitializeComponent() in App.caml.cs. More info on localisation is in the Displaying Dates page of the wiki.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FardinFarnezhad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants