Hi,
When viewing an additional page, the flags of the "Language Switch Menubar" link to :
"index.php?/additional_page&lang=de_DE"
I'd like them to link to :
"index.php?/page/testPage&lang=de_DE"
What shall I modify to do this ?
Regard, G.
PS: A big thanks to the developers of Piwigo, great tool.
[ Piwigo 2.3.4 ; Language Switch Menubar 2.3.b ]
Offline
With [extension by Piwigo Team] Extended Description a page is multilang
I don't really understand the need
Offline
Let' rephrase the question :
How can I change the language used from an additional page without leaving that page ? (building a multilingual site)
I'd like a home page that would look like this :
[lang=default] <div style="width:100%;height:50px"> <a href="index.php?/page/test01&lang=en_UK"> <img src="language/en_UK/en_UK.jpg" alt="English [UK]"/> </a> <a href="index.php?/page/test01&lang=fr_FR"> <img src="language/fr_FR/fr_FR.jpg" alt="Français [FR]"/> </a> <a href="index.php?/page/test01&lang=nl_NL"> <img src="language/nl_NL/nl_NL.jpg" alt="Nederlands [NL]"/> </a> </div> <div class="content_block"> Some tex in english </div> [/lang] [lang=fr] <div style="width:100%;height:50px"> <a href="index.php?/page/test01&lang=en_UK"> <img src="language/en_UK/en_UK.jpg" alt="English [UK]"/> </a> <a href="index.php?/page/test01&lang=fr_FR"> <img src="language/fr_FR/fr_FR.jpg" alt="Français [FR]"/> </a> <a href="index.php?/page/test01&lang=nl_NL"> <img src="language/nl_NL/nl_NL.jpg" alt="Nederlands [NL]"/> </a> </div> <div class="content_block"> Du text en Francais </div> [/lang] [lang=nl] <div style="width:100%;height:50px"> <a href="index.php?/page/test01&lang=en_UK"> <img src="language/en_UK/en_UK.jpg" alt="English [UK]"/> </a> <a href="index.php?/page/test01&lang=fr_FR"> <img src="language/fr_FR/fr_FR.jpg" alt="Français [FR]"/> </a> <a href="index.php?/page/test01&lang=nl_NL"> <img src="language/nl_NL/nl_NL.jpg" alt="Nederlands [NL]"/> </a> </div> <div class="content_block"> Tekst in het Nederlands </div> [/lang]
Offline
@homebee
I thinks it's ok now ;-)
Offline
I am now testing it and it works great.
Not a bug, a feature: If one chooses the language and then logs in, the language is reverted to the user's default setting. If I'm not mistaken, this was not the case in earlier releases (the choice of language was kept).
Btw... I was quite concerned about upgrading to 2.4 but is really went smoothly ! You're doing a great work !
Best, G.
Offline