Page translation module with Reference language (pivot_language) parameter broken on tiki-index.php
- Status
- Open
- Subject
- Page translation module with Reference language (pivot_language) parameter broken on tiki-index.php
- Category
- Regression
- Feature
- i18n (Multilingual, l10n, Babelfish)
- Submitted by
- Philippe Cloutier
- Volunteered to solve
- Louis-Philippe Huberdeau
- Lastmod by
- Philippe Cloutier
- Rating
- Description
- The Page translation module uses the pageLang global variable to determine the language of the page being viewed. tiki-index.php does not set that variable anymore since r14757. This breaks filter_languages_from_pivot when viewing pages in the reference language and using a Reference language parameter. Then, translations of the currently viewed page are not displayed. pageLang was moved to renderlib, in setupMultilingual(), but setupMultilingual() can be called several times in a request on tiki-all_languages.php, so this needs a deeper fix than declaring pageLang as global.
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2825
- Created
- Saturday 24 October, 2009 20:50:31 UTC
by Unknown - LastModif
- Saturday 24 October, 2009 20:52:29 UTC