Closed (duplicate)
Project:
Pathologic
Version:
6.x-3.0
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2010 at 14:02 UTC
Updated:
27 Jul 2012 at 07:01 UTC
I have multilingual website and if enter internal path like 'node/123' that points to content in other language, then links stay as is and not translated to path aliases.
Comments
Comment #1
Garrett Albright commentedmatulis, would you say you're having the same problem as mentioned in this issue?
Comment #2
matulis commentedNo, they are not related. Will explain my problem.
multilingual website, 2 languages - Latvian as primary (path aliases without language prefix) and English as secondary (path aliases with language prefix 'en').
for example, there are 2 created nodes:
'node/1' in Latvian with path alias 'blogs/mans-pirmais-bloga-ieraksts'
'node/2' in English, path alias 'en/services/it-consulting'
Then I create new node in Latvian 'node/3' and try reference both nodes in node body:
<a href="node/1">Mans pirmais bloga ieraksts</a>and<a href="node/2">IT consulting services</a>.Pathologic input filter will show path alias for the first link but not the second, will leave it as is 'node/2'.
Comment #3
matulis commentedThis is an issue with drupal_lookup_path function from includes/path.inc not pathologic module,
drupal_lookup_path function returns value for current language but there is no need to do that for system internal paths like 'node/1'.
Comment #4
Garrett Albright commentedClosing since things have changed so much. Please see the current language problems thread.