I'm about to translate the module and found out that the month names (January, February) are not translatable. Probably it's the same with the day names (monday, tuesday,...).

By the way: I suggest to add a component 'User interface' for week issues (currently only code is available).

Comments

Prometheus6’s picture

Component: Code » User interface
Assigned: Unassigned » Prometheus6
Status: Active » Postponed (maintainer needs more info)

There is now a "User interface" component.

The month and day names are created using the PHP date() function.

  $link_data['month'] = date('F', $start_week_ts);
  $link_data['mon'] = date('M', $start_week_ts);
  $link_data['monthno'] = date('m', $start_week_ts);
  $link_data['day'] = date('d', $start_week_ts);
  $link_data['dayname'] = date('l', $start_week_ts);
  $link_data['sdayname'] = date('D', $start_week_ts);

That should actually handle it on a properly configured system.

Prometheus6’s picture

Status: Postponed (maintainer needs more info) » Fixed

New version has a new dependency on date_api, but that means translations of month and day names are handled. Still needs translations for the form strings etc, of course, so there's a .pot file in there too.

FrankT’s picture

Status: Fixed » Active

Thank you, things look fine so far but I have some new issues (should be finished then):

The title of page /archive/story seems to be the string 'Weekly %type archives'. The title of the page seems to be untranslatable (a block has the same title, for the block the string can be translated).

On page '/admin/settings/week' there is a string 'Create block containing a list of weekly archives, collectively or by node type. ' which seems to be untranslatable, too.

Prometheus6’s picture

Version: 6.x-2.0 » 6.x-2.4

Okay, get the latest version and use the .pot file in there.

Prometheus6’s picture

Status: Active » Fixed
Prometheus6’s picture

Status: Fixed » Closed (fixed)

Five + days with no problem