Hi, I'm expiriencing a problem with bad links in lang switching module. When one clicks on some article in category blog and (in that article) tries to switch the language via the jdlanguage module, only an error page appears because of bad link...
Czech (original) link: ...something.cz/cz/foto/10-testovaci-galerie.html
English (expected) link: ...something.cz/en/photo/10-test-gallery.html
jDiction (eng) generated link: ...something.cz/en/photoestovaci-galerie.html
I changed the line 189 in the jdlanguage module helper and now the problem is gone. But the last part of link is not translated. (The article is translated and has "Test gallery" Eng title and "test-gallery" alias.)
Original: $path = substr($path, strlen($base));
Edit: $path = substr($path, strlen($base)-5);
Generated link after edit: ...something.cz/en/photo/10-testovaci-galerie.html
Joomla 3.3.0 // jDiction 1.2.0