Postponed (maintainer needs more info)
Project:
Localizer
Version:
5.x-3.3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2008 at 10:29 UTC
Updated:
19 Mar 2008 at 10:33 UTC
Comments
Comment #1
teebo commentedI forgot to mention that I have pathauto activated.
Comment #2
teebo commentedThanks for the reply.
Here is the link to the website: link
Comment #3
lupus78 commentedI have the same issue! Did you found the solution?
Comment #4
teebo commentedNo unfortunately, I haven't!
Anyone??
Comment #5
lupus78 commentedFor me it works on the Home link (the primary link pointing to the front page), and on links, which points to views, but the other links i have are all pointing to translated content items, with translated URL aliases, so this is why i think it's not working. Would be nice to find a workaround for this problem!
Comment #6
teebo commentedThat's exactly my issue too.
works fine, views work fine, but any translated menu does not work.
Comment #7
teebo commentedI found a solution.
Thanks to this note: http://drupal.org/node/41629#comment-364435
It's a dirty solution because you have to modify common.inc; but it does the job (until a real fix can be found).
Line #1275 in common.inc; replace:
if (($path == $_GET['q']) || ($path == '<front>' && drupal_is_front_page())) {By
if (($path == $_GET['q']) || ($path == '<front>' && drupal_is_front_page()) || (drupal_get_normal_path(i18n_get_lang(). "/". $path) == $_GET['q'])) {Comment #8
Roberto Gerola commentedYou are posting an i18n issue on localizer issue list.
Move this issue to the correct project, please.
Comment #9
teebo commentedHi Roberto,
I'm using Localizer 3 and not i18n.
But the fix I found does work (oddly enough). Since Drupal stores the current language in it's (partly built-in) i18n variables, it outputs the language prefix to the $path and makes it work.
If you have a better solution, or the equivalent of i18n_get_lang() for localizer; I would be glad to implement it.
For info, I have not installed the i18n module on this site (using Drupal 5.7).
Thanks.