Hi there,
this is my first issue, so I apologize if it's not in the correct section.

Anyways, I have to point out the follow question.

In my last work, I create a node type, press_releases, with a date field content (field_data).

What I want, is set pathauto for press_releases nodes in order to have a path like that: yyyy/[literal name of month]-[dd] in english and yyyy/[dd]-[literal name of month] in italian, according to data of field_data. So, in example, if I create a press release with field_data 30 07 2010, for the italian node the path will be

comunicati-stampa/2010/30-luglio

and for english node,
press-releases/2010/july-30

I used the appropriate tokens, for the literal name of month, [field_data-month] as well. What this token does, is return the corresponding name of month according to Drupal current language setting, and not to specific language node for wich i'm gonna build the path.

It's obvious (to me) that the token has to return in the same language of aliased node (otherwise, where is the utility?)

So, my question is: where is the problem? is this in the normal modules functionality, did I wrong something or what?

Comments

Dave Reid’s picture

Project: Pathauto » Token
Version: 6.x-1.3 » 6.x-1.x-dev
Component: Tokens » Code
Category: support » feature
Priority: Major » Normal

Moving to the proper issue queue since most tokens are provided by token.module and not pathauto (field tokens are provided by CCK so we may have to transfer this issue to the CCK queue as well). The tokens should be generated with the same language as the node yes, but I don't think the code is doing that.