Open sharethewisdom opened 5 years ago
Yes, but as there is no localisation in khal of any kind right now, so this would either be a special case or we would need to tackle localisation in general.
Maybe allow users to specify format strings under [locale]
? (I randomly chose one-letter specifiers)
[locale]
bdayformat = "%a's %nth birthday"
anniformat = "%a's %nth anniversary"
miscformat = "%nth %l"
where %l
in miscformat could be X-ABLABEL
(I don't really know how that's used).
I'm referring to
where the description could be composed. Would an (english) default be set here?
https://github.com/pimutils/khal/blob/fc5c2bfe8f8ea54e665d83d484f00cea0a6777c3/khal/khalendar/backend.py#L288
Could we add a
lang
option for calendars oftype = birthdays
, so that a localized string is used?