Ticket #4246 (closed Bug: fixed)

Opened 7 years ago

2.1 day/month headings missing in Calendar

Reported by: blacktav Owned by:
Priority: minor Milestone: 2.1
Component: Internationalization Keywords:
Cc:

Description

After creating a new Plone instance, month and day column headers in Calendar are not translated - instead,rendered as

month_jun and

weekday_sun_short

Plone instance created with no additional Products or Content

Change History

comment:1 Changed 7 years ago by hannosch

Which version of Plone are you using exactly? I assume a recent SVN checkout? Did you also get the latest version of PloneTranslations from SVN? A version of plone-en.po newer than 16.06.2005 is needed.

comment:2 Changed 7 years ago by Anonymous User

PloneTranslations/trunk/i18n/plone-en.po is at Revision 9081 stamped 13/6/2005 An update to Revision 9355 left plone-en.po unchanged - couldn't find a newer file. The .po contains the appropriate msgid's, maybe the Calendar template is broken?

comment:3 Changed 7 years ago by blacktav

Running latest SVN checkout of plone/bundles/2.1 updated to rev 7415 on Zope 2.8.1 (svn checkout)

problem seems to occur in portlet_calendar.pt; msgid gets generated OK then passed to here.utranslate(month_id) which disappears into a maze of twisting passages in PlacelessTranslationService where I lost track of it...

Is this not a general problem? cos the column widths make the calendar span 70% of the browser window; doesn't seem to matter what language

comment:4 Changed 7 years ago by hannosch

This is known to work for most people, so I assume there is something special about your setup.

Have you tried to translate 'month_jun' in the test tab of any language in PlacelessTranslationService (version should be 1.2-rc4)?

comment:5 Changed 7 years ago by Anonymous User

Finally figured this: seems the var/pts/*.mo files were not being regenerated; specifically PloneTranslations.i18n-plone-en.mo though several others were also affected presumably because of their datestamps. Removing the pts folder allowed the whole folder to be rebuilt correcting the problem.

Could not use the PTS Control_Panel cos it raises an aq_parent Attribute Error - but thats another matter...

comment:6 Changed 7 years ago by fschulze

  • Status changed from new to closed
  • Resolution set to fixed

See comment #8.

Note: See TracTickets for help on using tickets.