localizing NSCalendar unit - translation of week, month etc.
I'm currently working on a bit of localization. In the app there are a few places where we are using calendar units to pick the amount of data shown.
These are just W for week, M for month, Y for year. These have been hardcoded (not by using NSLocalizedString()) so they missed the train to the translators. I'm hoping to find a way to translate these using the NSDateFormatter. NSDateformatter have been able to give me translated day and month names but I haven't figured out how to translate calendar units?
|