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
Comment #1
klaus66 commentedI 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