Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hey there,
how can i change the month from the english word to the german, e.g. october to oktober
Thanks, Batman1983
Comments
Comment #1
gregglesI believe this is more of a token question than a pathauto question.
What pattern are you using that gets replaced with "october" ?
Comment #2
gregglesAccording to http://php.net/date:
However, batman1983 and I debugged this for a while in irc and when he entered
print date('F');
into a php filtered node it printed oktober.So, I'm not completely sure what the solution is.
Comment #3
batman1983 CreditAttribution: batman1983 commentedI changed some lines like this:
but you have to add this code anywhere for your country:
Perhaps you can read the location from the drupal core....
Comment #4
Dave ReidMarking this as a duplicate issue of #433486: Use format_date() for translatable date tokens