Hello!

This is related to feature request described here. This is essentially same request, but for version 6.x-1.6 of the Pathauto module.

In short words:
I would like to create some alias for all the languages, not just for the language that the user is using in that moment. For that, I'd like to use hook_pathauto_alias_alter hook. Unfortunately, this hook is designed to just change the alias, not the context.

There was a fix for the same issue in version 7.x-1.0 two years ago, but it never was applied to version 6.x-1.6. The fix provides possibility to alter $context['source'] and $context['language'] by reference from the hook.

Could You please consider applying the fix to version 6.x-1.6 of the Pathauto module?

Thanks!

Files: 
CommentFileSizeAuthor
#1 pathauto-alias-for-all-languages-2040955-1.patch532 byteseuk
PASSED: [[SimpleTest]]: [MySQL] 223 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new532 bytes
PASSED: [[SimpleTest]]: [MySQL] 223 pass(es).
[ View ]