Hi there!
I got a view language modules (i18n, etc) installed, but unfortunately the "language switcher" on my left sidebar doesn't seem to work... With a standard drupal theme its all doing good, so the installation seems correct! Just can't figure out the error at my custom template...
I got clean URL's enabled. One default language (german) with no path prefix, for the second laguage (english) - the path prefix "en" (www.mydomain.com/en/) ... But the URLs executed at the switcher remain all the same for Admin Menu and any other nodes without a translation.
Example:
If I'm on page:
www.mydomain.com/en/admin/ the URL for German remains unchanged www.mydomain.com/en/admin/ (and vise versa)
Now if I create a node and and ad a translation, e.g:
www.mydomain.com/kontakt/ the URL for the english translation is displayed as: www.mydomain.com/node/66 and NOT as www.mydomain.com/en/contacts/ as intended for this node translation ...
Has anyone dealt with a similar error before? Like I said, it works correct on standard drupal themes, but unfortunately not with mine!
Any help appreciated!
regards
hilrap
Comments
Any help?
Any help for this one? Here a list of all my multilanguage modules activated:
Block translation
Content type translation
Internationalization
Language Icons
Localization client
Menu translation
Poll aggregate
String translation
Synchronize translations
Taxonomy translation
Translation overview
template.php
Ok, found the where about of this error.
Disabling the template.php works for the language switch like a charm. ;-)
Since I did not write template.php myself, could anyone please explain its use? At first sight I can't see any negative changes on the theme ones disabled... Here it's what it reads:
Which part of this is responsible for the error described above?