translated file doesn't get parsed in ikiwiki
in wiki/src/doc/first_steps/upgrade.mdwn the line
[[!inline pages="doc/first_steps/upgrade.release_notes" raw="yes"]]
occurs two times. when translating the file, we translate this line to
[[!inline pages="doc/first_steps/upgrade.release_notes.de" raw="yes"]]
this leads to the translated release notes to be included as expected at the first occurance of this inline statement, but at the second occurrance, it is being included but not parsed.
i've attached a screenshot and the commits to reproduce the behaviour are in https://gitlab.com/muri/tails.git, branch bug-ikiwiki-po
#1 Updated by sajolida over 4 years ago
- Status changed from New to Confirmed
- Assignee set to sajolida
I'll have a look "at some point".
Until then, if you want to try to fix that yourself I would start by converting doc/first_steps/upgrade.release_notes and the rest of the content of the
<div> to pure HTML. In ikiwiki, once you open an HTML tag (here
<div>) you should write pure HTML inside (ikiwiki can't guess when you're going back to markdown). This means adding
<p> for each paragraph, etc.
#2 Updated by sajolida over 4 years ago
- File fixed.png View added
- Assignee changed from sajolida to muri
- QA Check changed from Dev Needed to Ready for QA
I finally had a look and I could fix this locally. See the screenshot in attachment. To do so maybe commit 44486bc help. I pushed it to master.
But most of all, I had to fix my ikiwiki.setup to include "inc/stable_i386_release_notes" in the list of translatable pages. So if this happened to you locally only, make sure to synchronize with the
If that works for you, then please close this ticket.
#5 Updated by muri over 4 years ago
- Status changed from Confirmed to Duplicate
i tested again and at the moment locally the inline statement mentioned in the bug report doesn't get translated at all. but as far as i can see, there are now multiple other tickets about this po-bug, so i'm closing as duplicate (hope thats the right way to handle this one)