I have seen so many Issues on Pathauto & languages, that I can't see the forest for the trees anymore. This could be duplicate, but I haven't seen any final solution in any of the long, long trheads, that ended up confusing me.
To cut short, website was working fine in only english, with some 10 initial pages. But what really matters is the other languages like Spanish, Dutch and Italian, so I install i18n and all the associated stuff. Then first Spanish translation, and.... node/27!
Rollback little by little until only leaving Locale activated.
When language neutral, aliases are ok, they only disappear when you select a language, or actually, they seem to fall back to a former alias if there was one and else, indeed: node/x.

I explain: in EN the title first was "New dating system". Since it sounded like dating site stuff, I changed to "New date format, Anno Hominis: yyyyyy/mm/dd" .

With Locale in "neutral" I get an alias corresponding to the real, current title:
http://inspirationtree.org/inspirations/new-date-format-anno-hominis-yyy...

When I switch Locale to EN I get the former alias:
http://inspirationtree.org/inspirations/new-dating-system
even if the title is still "New date format, Anno Hominis: yyyyyy/mm/dd" (attached)

In Spanish, first I created the content and I was told "/inspirations/proponiendo-anno-hominis-aaaaaammdd" was created, but the URL-bar showed "node/27"
I had forgotten to make a spanish pattern so I made one.
After saving again, it tells me that "/inspiraciones/proponiendo..." had been made,
but the URL-bar now showed the english patern: "/inspirations/proponiendo..." (attached)

Just for a try, I changed the spanish title again, without the aaaaaammdd and I get the message
"Created new alias inspiraciones/proponiendo-anno-hominis for node/27, replacing inspirations/proponiendo-anno-hominis-aaaaaammdd." However, the URL-bar shows precisely that 'replaced' alias. (couldn't attach)

If this already has a solution or a patch, please inform of exact location, not just some thread, because that only confuses.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

suffering drupal’s picture

Title: Pathauto does not pick up new aliases when using Locale » Pathauto does not pick up new aliases when using Locale.
Priority: Normal » Critical

Changing it to criticial, since the main reasons to even consider using Drupal at all IS in fact Pathauto AND at least Locale combined!

suffering drupal’s picture

FileSize
130.24 KB
16.54 KB

I don't understand this issue even exists, since it seemed precisely to be almost the only Drupal stuff that ever went smooth in D4, D5 and D6. (based on years of experience of battle and suffering to get a miminum extract of original inspirations at least working in several languages).
Yet another weird message, only with Locale active: Created new alias "xyz" but then that URL is not found! screendump attached.

Leeteq’s picture

Version: 7.x-1.2 » 7.x-1.x-dev

This issue has been lingering in the 1.2 queue for long time, not sure if it is still an issue. If so, would it be relevant for 1.3 or 1.4 release, given its "critical" status?

Ref. #2305515: Plan for Pathauto 7.x-1.3 release

Dave Reid’s picture

Category: Bug report » Support request
Priority: Critical » Major
Issue summary: View changes

This would need a test to confirm something is broken in Pathauto.

I think the patch in #1234924: Option to always force language = All? may help this use case to force all aliases to be generated as language-neutral, and force only one alias to be used. This is the ideal workflow for multilingual sites (not having multiple aliases in individual languages) because it just ends up complicating things when you start having more than one alias for the same content (including translations).