Multilingual links with Pathologic
| Project: | Pathologic |
| Version: | 6.x-1.1-beta13 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
I've spent the last three days trying to find a robust path naming/linking scheme for my multilingual sites. The best results so far have been with Pathologic, but I feel that I still have a very long way to go...
I am working with language-symmetric paths like 'en/page' and 'de/page'.
For my links, I would like to use relative paths without language information, like href="otherpage".
From there, I would need that the language prefix get's attached magically:
- link to 'otherpage' from 'en/page' gives 'en/otherpage'.
- link to 'otherpage' from 'de/page' gives 'de/otherpage'.
Is such a thing possible? This would save me so much pain! (I really think that the authors should not have to translate every single path from 'en/somepath' to 'de/somepath', 'es/somepath', etc... This is just a huge source of errors.)
I am actually using the following modules:
- Path (Core)
- Locale (Core)
- Content translation (Core)
- Internationalization (Multilanguage)
'Public' file transfer, and 'Path prefix with language fallback' Language negotiation.

#1
Sorry, but that falls outside of Pathologic's feature set at the moment. I might be willing to add it, but as I have zero experience working on multilingual Drupal sites, I wouldn't be the best person to do so at the moment.
#2
Hmm... It's a sad truth, but it's good to finally know, that this is simply not a possibility today. I hope you (or someone else) can add this important feature some day, and, please, keep up the good work.
Thank you, Garrett!
#3