Hi
I use
To display only those menu entries that are available in the current language...
sample page menu
DE > home page1 page2 page3 page4
PL > home page1 page2 (page3 and page4 are not avaible in the PL language)
When choosse in menu the DE language and next Pl language , menu show correct in Pl language:
home page1 page2
When choosse in menu sample the (DE) page2 and next choosse language Pl , show not correct menu in Pl language
PL > home page1 page2 page3 page4 page3 and page4 are not avaible in PL language.
I use
PHP Code:
<?php get_i18n_navigation(return_page_slug(),0,99,I18N_SHOW_LANGUAGE); ?>
// Select language
<?php $languages = return_i18n_available_languages(); ?>
<?php foreach ($languages as $language) { ?>
<li style="float:right"><a href="<?php echo htmlspecialchars(return_i18n_setlang_url($language)); ?>"><?php echo $language; ?></a></li>
<?php } ?>
To display only those menu entries that are available in the current language...
sample page menu
DE > home page1 page2 page3 page4
PL > home page1 page2 (page3 and page4 are not avaible in the PL language)
When choosse in menu the DE language and next Pl language , menu show correct in Pl language:
home page1 page2
When choosse in menu sample the (DE) page2 and next choosse language Pl , show not correct menu in Pl language
PL > home page1 page2 page3 page4 page3 and page4 are not avaible in PL language.