[d] [month] [yyyy] some date tokens are not translatable
policleto - April 14, 2009 - 16:31
| Project: | Token |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Hi all,
I set fom mu News type the following pattern
Pubblicato il [d] [month] [yyyy] (Pubblicato means Published in Italian)
The month won't be translated when I refresh my News pubblications.
How can I obltain month names translated in the current language the site is using?
Thanks

#1
Moving to the token queue.
#2
Bump! I am having the same issues when trying to output semantic URLs in French. This is a highly desirable feature for the international Drupal community! (many thanks for any help)
#3
Better title.
#4
same problem with [mon] month abbreviation token, can't find in translation if I search May or Jun or wathever abbreviated month
#5
here is a patch for all translatable date-tokens for nodes & comments.
#6
#7
Hello Razor,
I see there is a new version for this module, of June 1st.
Is the patch included in it?
(i dont think it is, from the release notes: http://drupal.org/node/479142 )
#8
Hmm problems...
One one site, i updated to Token v6.x-1.12 and the translation bug is still there.
On another site, running Token v6.x-1.11 i tried to apply the patch but got this error on the command prompt (Vista):
C:\Users\myuser\Desktop\Downloads\PATCHIN\token> patch < token_433486.patch
patching file token_comment.inc
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
And immediatly the patch.exe application crashed with Windows asking if i wanted to report to Microsoft (the usual).
#9
The patch is from 27 May 2009. therefore outdated.
#10
Would you mind posting a patch for the latest version ?
I'm willing to test it.
#11
Ok, reroll.
#12
Thanks for this patch.:)
/Subscribing/
#13
Is this committed to a release? Can someone review this plz? This is an important addition to Drupal.
#14
Yes, translation of tokens would be most welcome. I need to translate [type-name] for my automatic titles module.