Download & Extend

How to translate the Year, Month and Day strings in the Calendar view

Project:Calendar
Version:6.x-2.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello there,

I was wondering how to translate the terms "Year, Month, Week, Day" in the Calendar view. I cannot find any matching search strings in the Translation Interface.

I came across some strange behaviour as well. I am translating a page into dutch and french. English is the default language.

I have no problem translating the day names from tuesday to friday. Strangely, when I tranlate Monday into Maandag (dutch) / Lundi (french), the first three letters of the Month link above change depending on which language is switched on:

Month (English)
Lunth (French)
Maanth (Dutch)

I checked in the issue queue but didn't find any related problems. Would be nice if somebody could help me out.

Cheers!

Comments

#1

I have noticed the same issue, been unable to fix it and thus reverted to 2.0 rc6... sorry I can't be of more help here :(

#2

Confirmed in Calendar 6.x-2.2 too.

#3

Status:active» postponed (maintainer needs more info)

This is really two issues:
For the first, would this module help?
http://drupal.org/project/stringoverrides
http://geeksandgod.com/tutorials/audio/string-overrides-module-drupal

For the second: has the latest module version(s) been evaluated?

#4

Status:postponed (maintainer needs more info)» active

For the first, would this module help?
http://drupal.org/project/stringoverrides

I doubt that http://drupal.org/project/stringoverrides would help, since "Lunth" is to me a clear sign that something wrong is passed to t() and that module intercepts strings passed through the t() function:

  • "Monday" [en] = "Lundi" [fr]
  • "Mon" [en] = "Lun" [fr]
  • "Month" [en] = "Lunth" [fr], clearly wrong

For the second: has the latest module version(s) been evaluated?

My latest comment confirmed the problem with the latest version 2.2.

#5

Subscribing

#6

I have the same problem with version 6.x-2.2.

#7

Several translation strings:

!day-abbreviation S|M|T|W|T|F|S
!day-name Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday
!datetime Year|Month|Day|Week|Hour|Minute|Second|All Day|All day

you can find similar strings by "Translate interface > Search"...

#8

Sorry, but I don't get it. Is it finally possible to translate the months - days strings of the calendar to other languages? (I am interested in greek). Where are the strings that need to be translated? (in which files?)

#9

Thanks a lot to etcetera9 for his help! The needed strings can be found at Administration -> Translate interface -> Search.