Calendar integers in english and alphabets in arabic

we are migrating our app to support Arabic language support but the requirement is we want the calendar/date object to display as missed. That is all the numbers in english digits and rest all the words like days, months should be in Arabic.

I tried few options but at the end its resulting everything is in Arabic or in English but not the mixed as expected. Attaching the expected behavior.

I’d like to clarify your requirements. Are you trying to do this with a built-in calendar view, like UICalendarView? Or is this a custom calendar view, where you have control over the drawing?

Also:

  • I’m presuming this is iOS. Let me know if that’s not the case.

  • What UI framework are you using? UIKit? SwiftUI? Something else?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Calendar integers in english and alphabets in arabic
 
 
Q