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

Garrett Albright’s picture

Yeah, 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…

lpalgarvio’s picture

having 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:

<a href="/en/contact">form</a>

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.

Garrett Albright’s picture

LPCA, are you using this patch?

lpalgarvio’s picture

no.
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.

degauss’s picture

Just 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?

Garrett Albright’s picture

Status: Active » Closed (duplicate)

Closing since we already have one active issue about language problems.