The best I give you first the siteadress about we speak. www.mosel-fewo.eu:12002.

The problem is only on the frontpage. My frontpage is a simple node with textlinks in the body.

When I switch the language on the frontpage and then I go e.g. on the first link in the text (ferienwohnung) the routed url is wrong (ferienwohnung/1) and not how expected de/ferienwohnung/1.

I think I found the solution that works for me but I'm not sure that is good for other situations.

In locale module line 966 the function locale_block_view:

<?php
$path = drupal_is_front_page() ? '<front>' : $_GET['q'];
?>

Now I change this in :

<?php
$path = $_GET['q'];
?>

This works for me pretty well, because now I have on my frontpage the path with my alias (de/startseite) and not only /de.

The language switcher link in the content works correctly.

Comments

klaus66’s picture

I have forgotten to say.

The links in the body field are relative links like so: 'apartment/1'

With a absolute path like so it works: http://mosel-fewo.eu/en/apartment/1

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 6787)