It doesn’t seem to be possible besides doing the manual lookup.
Note that I’m not asking for the localized date. I’d like the actual terms for “day”, “week”, “month”, “year”.
Edit:
I’m looking for the localized translation. For example, if I calculate 3 months between two dates, I would like to display a localized version of “3 months” to the user. Hope that helps.
There is no built in function that delivers you the localized translation for the english words “day”, “week”, etc.
You have to use
and provide the language String resources.