3 Oct 11:20
Re: toLocalizedTime
Steve Spicklemire, on 2008-09-25: > Hi Folks, > > Well.. I've tracked this down a bit more and found that it seems to > boil down to the > ulocalized_time function from ./CMFPlone/i18nl10n.py. I'm hoping > someone can help me > translate this into English.(Continue reading)> > "this requires the presence of two msgids inside the translation > catalog" > > So.. do I need to cook up a .po file with msgids of > 'date_format_long' and 'date_format_short' and 'msgstr's with > something like: > > "${A} ${d}. ${B} ${Y}, ${H}:${M} ${Z}" > > and then also include msgids like "Jan","Feb" and "Mon","Tue" etc > with corresponding translations of those items? > > Do I need to specify a 'zone' of 'plonelocales'? > > Can I include this in my Zope product.. or do I need to put it in > some other place? This is already done in PloneTranslations/locales/es/LC_MESSAGES/plonelocales.po So it should already work.
>
> "this requires the presence of two msgids inside the translation
> catalog"
>
> So.. do I need to cook up a .po file with msgids of
> 'date_format_long' and 'date_format_short' and 'msgstr's with
> something like:
>
> "${A} ${d}. ${B} ${Y}, ${H}:${M} ${Z}"
>
> and then also include msgids like "Jan","Feb" and "Mon","Tue" etc
> with corresponding translations of those items?
>
> Do I need to specify a 'zone' of 'plonelocales'?
>
> Can I include this in my Zope product.. or do I need to put it in
> some other place?
This is already done in
PloneTranslations/locales/es/LC_MESSAGES/plonelocales.po
So it should already work.
RSS Feed