Re: "Juli statt July": lokalisierte Ausgabe von DateTime.Month() in plone

"Jens W. Klein" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Klein & Partner KEG, BlueDynamics Alliance
Message-ID <1247168582.6892.4.camel@minime>
Am Thu, 09 Jul 2009 19:56:13 +0200 schrieb Jens Nachtigall:

> Hallo,
> 
> habe für einen Artikel als Freigabedatum 30. Juli (deutsch). Folgendes
> page template gibt allerdings "30 July" (englischer Monat) zurück. Wie
> kann ich die lokalisierte Variante von DateTime().Month kriegen?

Schau mal in Products/CMFPlone/i18nl10n.py. Dort gibt es Funktionen um
aus den Monatsnummern msgids zu bauen. Evtl bekommst Du dort aber noch
eher mit "ulocalized_time" was du suchst.

lg
-- 
Jens W. Klein - Klein & Partner KEG - BlueDynamics Alliance



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.