View Issue Details

IDProjectCategoryView StatusLast Update
13522Bug reports[All Projects] Translationpublic2018-06-13 12:43
ReporterelissaAssigned Toc_schmitz 
PrioritynoneSeverityminor 
Status acknowledgedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary13522: Translation panel - references link does not work for texts from Twig templates
Description

The link to the translated phrase reference does not work. The link is red-outlined in the attached picture. This applies to the screen for translators, e.g. https://translate.limesurvey.org/projects/limesurvey-3/pl/default/

TagsNo tags attached.
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database & DB-Version
Operating System (Server)
Webserver software & version
PHP Version

Activities

elissa

elissa

2018-03-22 15:07

reporter  

translation-reference.jpg (130,605 bytes)
elissa

elissa

2018-04-11 09:00

reporter   ~47395

It seems to work now so the bug report is irrelevant now.

elissa

elissa

2018-06-13 12:26

reporter   ~48080

Again it does not work.



404Lime.jpg (326,039 bytes)
c_schmitz

c_schmitz

2018-06-13 12:38

administrator   ~48081

Last edited: 2018-06-13 12:40

View 4 revisions

Hello Elissa,

unfortunately the /tmp/twig one will never work because it refers to all translations in twig template files. The problem here is that we cannot reference the real location bcause our parser looking for the gT keyword works only in PHP files, but cannot handle twig files. So we create a fake .php files with all translations from the twig files and parse that one.

I will keep the issue open for now - maybe we will find a better solution in the future.

Issue History

Date Modified Username Field Change
2018-03-22 15:07 elissa New Issue
2018-03-22 15:07 elissa File Added: translation-reference.jpg
2018-04-11 09:00 elissa Note Added: 47395
2018-05-16 13:13 LouisGac Assigned To => c_schmitz
2018-05-16 13:13 LouisGac Status new => assigned
2018-06-13 12:26 elissa File Added: 404Lime.jpg
2018-06-13 12:26 elissa Note Added: 48080
2018-06-13 12:38 c_schmitz Note Added: 48081
2018-06-13 12:38 c_schmitz Summary Translation panel - references link does not work => Translation panel - references link does not work for texts from Twig templates
2018-06-13 12:40 c_schmitz Note Edited: 48081 View Revisions
2018-06-13 12:40 c_schmitz Note Edited: 48081 View Revisions
2018-06-13 12:40 c_schmitz Note Edited: 48081 View Revisions
2018-06-13 12:41 c_schmitz Status assigned => acknowledged
2018-06-13 12:43 c_schmitz Project Development => Bug reports