Give the gift of Drupal. All merchandise is 50% off through 2016.
We have a great feature to allow different paths per language.
Main issue I have with that when you create English content, there is no French path. This means when viewing the site in French, that piece of English content has an old node/x path, not a French path. In some cases it even leads to a 404 page, because a specific path does not exist in French.
This is a problem for mixed content sites, where the Drupal interface may be switched languages, but the mixed language content and its paths should be accessible everywhere.
So this is the issue:
- create an english language node
- pathauto generates the english path
- problem: the french path is not generated.
This piece of content only gets an english path, not both.
In my case the solution seems to be changing all paths to 'und', which means they are available for All. my paths include the [nid] token aways, so I dont get duplicate paths anyway.
So in pathauto.inc before
// Save the path array. path_save($path);
I added an extra line
$path['language'] = LANGUAGE_NONE;
To force neutral-language paths for whatever mixed language content. The idea is that a path should always be available in every site-language, regardless of the content language.