Flags in header: only translate the language path and not the slug
-
Hello everyone,
I’m using qtranslate + qtranslate slug and i have a problem:
my site is in italian(default) english, french, spanish and deutsch. I’ve added
<?php echo qtrans_generateLanguageSelectCode('image'); ?>
to my header.php with css fixes to display flags. All seems to work but if I’m in a page like mysite.com/ciao and try to switch to the en language I get mysite.com/en/ciao but it should be mysite.com/en/hello, the same happens with other languages.
Can you help me?
I’ve noticed that the widget works fine, it translate the slug correctly, so I think the problem is in the code that I’ve added to header.php
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Flags in header: only translate the language path and not the slug’ is closed to new replies.