Here's the situation:
- 2 languages
- 2 language versions of the page, both with their own aliases
- user is not using any language prefix
- when using the alias associated with the default language everything works fine - Drupal redirects user to a prefixed path
- but when using the alias associated with the non-default language Drupal returns a page not found
error
For me it looks like Drupal is failing to identify the user's language.
Comments
Comment #1
damien tournoud commentedWhat are the paths you set up for each of the languages?
Comment #2
archetwist commentedopera/operatorandopera/anonimowo. Both languages have prefixes so the URLs look like this:http://archetwist.com/en/opera/operatorandhttp://archetwist.com/pl/opera/anonimowo.http://archetwist.com/opera/anonimowois working (user is redirected),http://archetwist.com/opera/operatoris not.Comment #3
errement commentedFixed here: http://drupal.org/node/207126 and here: http://drupal.org/node/146084
Comment #4
archetwist commentedI should have added that the problem appears only when the user's language is not English. I'm not sure the patches you've linked to really fix this issue. Or do they?
Comment #5
gábor hojtsyThe path alias is resolved with the language being used. The posts have their aliases saved with their language, so if there is no information in the URL about the language, then the fallback will use the site default language, and will not find all the other paths. Why not use the aliases proper?