I've included patch http://drupal.org/files/issues/links.tpl_.php_.txt in my site. it seems, though that links are not prefixed according to language redirections, i.e. in the block-locale block, links do not point to other languages.

I will try and come with an option to fix this, but I don't know much about the drupal api yet.
also, maybe this change could be reflected in the function phptemplate_light_primarylinks in the file template.php?

Comments

nickbits’s picture

Assigned: Unassigned » nickbits
Status: Active » Needs review

Hi,

Sorry for the delay in getting back to you. I have not come accross the block-locale before. I will check it out with your fix. The last line you have commented out though, would appear to me to make the current active tab not to be highlighted. Anyway, will look at ASAP.

Nick

lelutin’s picture

my solution is not working and I haven't had any time to work on it lately.

I wonder if there is a magic way to solve this issue with api functions.
I would like to point out that I'm using the i18n module in drupal 6 and that I set up language prefixes. so for example: /node/1 points to some page in french, and /en/node/2 could point to it's english translation.

nickbits’s picture

Status: Needs review » Active

Will look at as soon as I can.

nickbits’s picture

Status: Active » Closed (fixed)

Hi,

Can you check the latest release and see if this is still an issue. If it is, can you supply exact details of your version, modules enabled, blocks turned on, etc.

Cheers,
Nick