Loading...
 
Skip to main content

File gallery, Wikiplugin file; Adding translation parameters for file title

Status
Closed
Subject
File gallery, Wikiplugin file; Adding translation parameters for file title
Version
25.x
Category
  • Developer Training
  • Easy for Newbie Dev
  • Feature request
Feature
File Gallery (elFinder or standard UI)
i18n (Multilingual, l10n, Babelfish)
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Keep informed
Adrien
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

The general translation behaviour for Tiki features is to allow translations of titles and other labels.
Page title, trackers (title, field names), categories and eventually to allow wiki syntax that allow the admin to set TR tags where it is needed (tracker description, wiki page content, etc...).
But not for Tiki file gallery. ??‍♂️

The translation of term(s) is found in tiki lang/../language.php or lang/../custom.php

Following the discussion in the comments the conclusion is:
1/ There are reasons for this as it may be unwanted to automatically translate terms of a file title (file name on import if none is specified).

2/ To allow translation of file title and file description it will made sense and easier to do it at the wiki plugin level, something like:

Copy to clipboard
{file type="gallery" fileId="1225" browserdisplay="y" translatetitle="y"}


There is no option to display the file description using the plugin and it is not necessary to add one.

Solution

https://gitlab.com/tikiwiki/tiki/-/merge_requests/1301
Merged

Importance
5
Easy to solve?
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8062
Created
Friday 04 February, 2022 10:44:12 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Friday 18 February, 2022 18:18:41 UTC


Show PHP error messages