Closed (won't fix)
Project:
Internationalization
Version:
5.x-2.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2008 at 20:35 UTC
Updated:
6 Nov 2009 at 15:14 UTC
My problem here is actually with taxonomy redirect: if I redirect a taxonomy/node/!termid to foo/!termid, translation_url() ignores the pattern and doesn't rewrite the url properly.
But to fix the issue, i need a patch to the translation.module.
External modules that modify URLs (in this case, taxonomy_redirect.module) should have a way to modify the translation_url (in translation.module) engine. I think this should be implemented as a hook (say hook_translation_url_modify()) that allows the $url to be modified in the translation_url() function.
I attach the language switching block i designed to workaround the issue for now.
| Comment | File | Size | Author |
|---|---|---|---|
| switcher.php_.txt | 2.21 KB | anarcat |
Comments
Comment #1
jose reyero commentedNo new features for 5.x.
Comment #2
jose reyero commented