when using the switcher to change language I am getting different behaviors.

for the invite module I have installed. i have two menu items. the original that i changed to english. and added another language and made that the other language. it switches the way I would expect. the flag changes the menus and the page. ie.
flag en/invite&0 ja/invite&0 linked page en/invite&0 ja/invite&0

also for privacy page I have two menu items.
for a node page I added it acts different. url path for both is en/privacy and ja/privacy
flags en/privacy&0 ja/node/1&0 or for the other page en/node/20&0 ja/privacy&0

If I change the pages url path for en is privacy and ja is left blank, i get
flags en/privacy&0 ja/privacy&0 or for the other page en/node/20&0 ja/node/20&0 , but ja/privacy does not work

If I change the pages url path for en is privacy and ja is ja/privacy
flags en/privacy&0 ja/privacy&0 or for the other page en/node/20&0 ja/privacy&0, three work but en/node/20&0

is this a bug? or am I doing it wrong? any help would be greatly appreciated.
thanks.

Comments

davemybes’s picture

Make sure that you are using the Translations block to switch languages and NOT the Language Switcher block. You should use the Language Switcher block only on the front page and the Translations block on all pages except the front page.

dsp1’s picture

Category: bug » support
Status: Active » Closed (fixed)

thanks incrn8, did not even think about that. it works.

had to change to using blocks instead of imbedding on the page.tpl.php. if anyone else wants to know, i added a block-translation.tpl.php with only <?php print $block->content ?> so the css would not get messed up. added an additional area in the template.php and added code in the place I had switcher coded on page.tpl.php.
then have switcher to only, and translation to exclude.

Junesun’s picture

Thank you so much! I would never have guessed that there are two "Language Switcher"-type blocks... maybe they should be unified. I don't see the purpose for switching languages if the content remains untranslated...