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

iv0’s picture

I 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

asb’s picture

arlinsandbulte’s picture

Status: Active » Closed (fixed)

assuming this is fixed since the other issue is.
Feel free to re-open if this is not fixed.