I'm using the latest stable version of Pathauto and i18n with Drupal 5.2. I found a very interesting bug: when I submit new content in Esperanto and later translate it to English, the English content will have the right URL (including catpath) whereas the Esperanto content's URL will simply be the article's title, ignoring that I asked Pathauto to include catpath for nodes. However, if I first submit the English content and then "translate" it to Esperanto, both articles have good URLs. (I haven't tried this with other non-English languages but I believe it's not Esperanto-specific because there's no reason.)

Even though it's not critical, it's pretty annoying and I don't want to have to re-do all the URLs when my visitors submit Esperanto content, even more since the system resists my attempts to manually adjust the URLs... Please help!

Comments

greggles’s picture

Status: Active » Postponed

I don't know enough about i18n to really solve this kind of problem.

There have been lots of bug reports about the two modules together and I've asked for help numerous times in numerous places and haven't found anyone who cares enough to help out (yet).

I mark it as postponed since I don't know enough to fix it myself, but if someone else provides a patch to fix problems like this then I would be very appreciative and likely to apply the patch.

Thanks!

Junesun’s picture

I believe this problem may be related to the issue of translated taxonomies, that Pathauto can't find the translation of a taxonomy term until the original taxonomy term has been used in a path or something...

Junesun’s picture

I *might* be able to figure out a patch for this, I'm a PHP programmer, but I'm new to Drupal and still utterly lost in the Drupalese. I particularly find the workflow (who calls what and when) hard to grasp. If you could point out where Pathauto decides on which categories to include in a node's path (upon node submit, not in a bulk update), I will look into this.

greggles’s picture

That would be great to get your help on this! Take a look for pathauto_nodeapi on line 76 of pathauto_node.inc

greggles’s picture

Version: 5.x-1.2 » 6.x-1.x-dev

Moving to a branch where it won't be forgotten.

Freso’s picture

Component: Code » i18n Stuff
dave reid’s picture

Component: i18n Stuff » Code
Status: Postponed » Closed (duplicate)