Closed (fixed)
Project:
Date
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2009 at 09:45 UTC
Updated:
7 Sep 2010 at 21:18 UTC
Hi everyone,
I can't translate the date elements (month, days...) in any language. I have the po files, the locale date settings is always proposing me english language. Anyone had the same issue ?
Thanks
Comments
Comment #1
iv0 commentedI had the same problem. You have to go to /admin/build/translate/ and translate the following date strings:
!month-name |January|February|March|April|May|June|July|August|September|October|November|December
!day-name Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday
!month-abbreviation |Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec
!day-abbreviation Sun|Mon|Tue|Wed|Thu|Fri|Sat
!ampm-abbreviation am|pm|AM|PM
Then it works as expected. Note, that to SEE formats in correct language, it is not enough to select the language on /admin/settings/date-time/locale, but you have to switch the admin interface to the desired language as well. Formats do change correctly, but language used for the days/months etc. is still the same as the language of the interface.
For Czech language I added the following date/time formats:
Long: l, d. F Y, g.i A
Middle: D, j. M Y, G.i
Short: j. n. 'y, G.i
Comment #2
asb commentedThis might be related: #427304: Translation not working anymore
Comment #3
arlinsandbulte commentedassuming this is fixed since the other issue is.
Feel free to re-open if this is not fixed.