Closed (duplicate)
Project:
Pathologic
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2010 at 10:29 UTC
Updated:
27 Jul 2012 at 06:57 UTC
Pathologic 6.x-3.0 had the problem of directory duplication indicated in #818120: Duplicated subdirectory, so my i18n-enabled links looked like http://foo.com/drupal/ca/drupal/ca/something when they should look like http://foo.com/drupal/ca/something. However, Pathologic 6.x-3.1 doesn't fix the problem completely since now the language code is still duplicated like this: http://foo.com/drupal/ca/ca/something.
Thanks a lot for your work!
Comments
Comment #1
Garrett Albright commentedYeah, Pathologic has issues on multi-lingual sites. See also #348421: Multilingual links with Pathologic. Unfortunately, I don't know enough about how multi-lingual sites work to fix this. I'm hoping someone who does can offer a patch, or at least some ideas…
Comment #2
lpalgarvio commentedhaving the same issue, but on very specific cases
the only case i'm finding at this point is with the contact page.
it shows:
http://example.com/en/en/contact
instead of
http://example.com/en/contact
html:
using Pathauto, Pathologic, i18n, WYSIWYG.
no matter what, when i change the link to /contact through the WYSIWYG, it always returns to /en/contact (which is then prefixed with /en)
in this example i've set English as a secondary language, mapped to the /en path, with Portuguese as primary, mapped to / path.
Comment #3
Garrett Albright commentedLPCA, are you using this patch?
Comment #4
lpalgarvio commentedno.
for some reason this is isn't happening to me anymore.
might be related to the addition of other modules like Global Redirect or changes of paths.
Comment #5
degauss commentedJust spotted a internal absoulute link in my site which had a double language prefix when rendered. After updating Pathologic from 6.x-3.3 to 6.x-3.4 the double prefix disappeared. Anyone else experienced the same effect?
Comment #6
Garrett Albright commentedClosing since we already have one active issue about language problems.