Loading...
 
Skip to main content

profiles wiki handler: translations param doesn't work. To reproduce, see and apply profile: 'Consensus Forums'

Status
Closed
Subject
profiles wiki handler: translations param doesn't work. To reproduce, see and apply profile: 'Consensus Forums'
Version
12.x
13.x
Category
  • Conflict of two features (each works well independently)
  • Error
  • Community projects
  • Dogfood on a *.tiki.org site
  • Less than 30-minutes fix
Feature
i18n (Multilingual, l10n, Babelfish)
Profile Manager
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Profiles wiki handler: translations param doesn't work. To reproduce, see and apply profile: http://profiles.tiki.org/Consensus+Forums

This page:
http://xavi-9794-5371.show.tikiwiki.org/tiki-index.php?page=Instructions+for+the+Consensus+Forums

should be in the same trnaslation set as the equivalent Spanish one:
http://xavi-9794-5371.show.tikiwiki.org/tiki-index.php?page=Instrucciones+de+los+Foros+de+Consenso

This is how the pages are defined in the profile decalaration:

Copy to clipboard
objects: - type: wiki_page ref: consensus_forums_include data: name: Instructions for the Consensus Forums description: Instructions on how to use forums to help users seek consensus on discussion threads lang: en mode: create_or_update translations: consensus_forums_es_include content: wikicontent:Consensus_Forums_Instructions - type: wiki_page ref: consensus_forums_es_include data: name: Instrucciones de los Foros de Consenso description: Instrucciones sobre como users los foros para ayudar a los usuarios a buscar consensos en cada hilos de debate lang: es mode: create_or_update translations: consensus_forums_include content: wikicontent:Consensus_Forums_Instrucciones


However, the "translations" keyword doesn't seem to take effect.

Solution

It was an issue due to missleading documentation (probably, just outdated, in fact).

Param translations doesn't apparently work with pagenames, but just with [ $pagereference]

See:
https://profiles.tiki.org/tiki-pagehistory.php?page=Wiki+Handler&history_offset=1&diff_style=sidediff&diff_style=sidediff&show_all_versions=y&compare=Compare&newver=38&oldver=37&tra_lang=sq&paginate=on&history_pagesize=25

thanks lph for tips on where to look on a working profile with the usage of page translations.

Importance
4
Easy to solve?
5
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5371
Created
Saturday 26 July, 2014 09:26:09 UTC
by Xavier de Pedro
LastModif
Friday 15 August, 2014 10:14:19 UTC


Show PHP error messages