Closed (fixed)
Project:
Token
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Apr 2009 at 16:31 UTC
Updated:
25 Mar 2010 at 19:10 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | token_433486-2.patch | 7.87 KB | tobiasb |
| #5 | token_433486.patch | 7.92 KB | tobiasb |
Comments
Comment #1
nancydruMoving to the token queue.
Comment #2
fei commentedBump! 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)
Comment #3
gregglesBetter title.
Comment #4
d.sibaud commentedsame problem with [mon] month abbreviation token, can't find in translation if I search May or Jun or wathever abbreviated month
Comment #5
tobiasbhere is a patch for all translatable date-tokens for nodes & comments.
Comment #6
tobiasbComment #7
doomed commentedHello 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 )
Comment #8
doomed commentedHmm 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).
Comment #9
tobiasbThe patch is from 27 May 2009. therefore outdated.
Comment #10
doomed commentedWould you mind posting a patch for the latest version ?
I'm willing to test it.
Comment #11
tobiasbOk, reroll.
Comment #12
a.a.egoroff commentedThanks for this patch.:)
/Subscribing/
Comment #13
danny_joris commentedIs this committed to a release? Can someone review this plz? This is an important addition to Drupal.
Comment #14
tomsm commentedYes, translation of tokens would be most welcome. I need to translate [type-name] for my automatic titles module.
Comment #15
dave reidPatch contains some unrelated changes to the [user] token.
Comment #16
dave reidMore general title
Also see #307520: Date formatting function
Comment #17
dave reidThis is now fixed with #307520: Date formatting function.