Datetime tokens not translated

Created on 25 May 2024, 12 months ago

I'm using Automatic Label and Pathauto to generate patterns for my content from a date field. The problem is that it always ends up being in English, while my site is Dutch only. The following token shows the month of my field in English, but it should be in Dutch.

[node:field_maand:date:custom:F]

I noticed that smart date range fields don't suffer from this issue. The following token renders the pattern in Dutch, just like I would expect it to. In the "available tokens" window, it is also correctly translated.

[node:field_datum:value-format:month_and_day]
I don't need a range for all my date fields, so I can't use this as a solution, but it indicates that it's a problem in core I guess?

Drupal version : 10.2.6
PHP version : 8.2.12

πŸ’¬ Support request
Status

Active

Version

10.2 ✨

Component
DatetimeΒ  β†’

Last updated about 20 hours ago

Created by

πŸ‡§πŸ‡ͺBelgium mowgli4811

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mowgli4811
  • Status changed to Closed: outdated 4 months ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    There has been no discussion on this support request for 7 months, so I am closing this issue.

    If this is a bug on a supported version of Drupal change it to a Bug and supply steps to reproduce. In fact, it would help to restore the standard issue template.

    The Drupal Core issue queue is not the ideal place for support requests. The 'support request' option is there for filing support issues for contributed modules and themes. There are several support options listed on our support page β†’ (Community > Support at the top of Drupal.org) and there is Drupal Slack β†’ . You may get better replies in one of those places.

Production build 0.71.5 2024