Errors on translated blog posts at geti2p.net #43

Open
opened 2025-04-21 14:48:10 -04:00 by idk · 6 comments
Owner

Opened 7 years ago

Last modified 3 years ago

#1396assigneddefect

Errors on translated blog posts at geti2p.net

Reported by:rOwned by:slumlord
Priority:
minor
Milestone:

Component:
www/i2p
Version:
0.9.15
Keywords:
error
Cc:
sadie
Parent Tickets:

Sensitive:
no

Description

Errors at

​https://geti2p.net/ru/blog/post/2014/03/12/press-release-ddg-donation

​https://geti2p.net/de/blog/post/2014/03/12/press-release-ddg-donation

and other already translated languages.

System Message: ERROR/3 (/opt/i2p.website/i2p.www/i2p2www/blog, line 10); backlink

Unknown target name: "nominations".

Subtickets

Opened [7 years ago](/timeline?from=2014-10-22T18%3A59%3A43Z&precision=second "See timeline at Oct 22, 2014 6:59:43 PM") Last modified [3 years ago](/timeline?from=2018-06-20T07%3A09%3A32Z&precision=second "See timeline at Jun 20, 2018 7:09:32 AM") ## [\#1396](/ticket/1396)[assigned](/query?status=assigned)[defect](/query?status=!closed&type=defect) # Errors on translated blog posts at geti2p.net Reported by:[r](/query?status=!closed&reporter=r)Owned by:[slumlord](/query?status=!closed&owner=slumlord) Priority: [minor](/query?status=!closed&priority=minor) Milestone: Component: [www/i2p](/query?status=!closed&component=www%2Fi2p) Version: [0.9.15](/query?status=!closed&version=0.9.15) Keywords: [error](/query?status=!closed&keywords=~error) Cc: [sadie](/query?status=!closed&cc=~sadie) Parent Tickets: Sensitive: [no](/query?status=!closed&sensitive=0) ### Description Errors at [​https://geti2p.net/ru/blog/post/2014/03/12/press-release-ddg-donation](https://geti2p.net/ru/blog/post/2014/03/12/press-release-ddg-donation) [​https://geti2p.net/de/blog/post/2014/03/12/press-release-ddg-donation](https://geti2p.net/de/blog/post/2014/03/12/press-release-ddg-donation) and other already translated languages. System Message: ERROR/3 (/opt/i2p.website/i2p.www/i2p2www/blog, line 10); backlink Unknown target name: "nominations". ### Subtickets
idk added this to the undecided milestone 2025-04-21 14:48:10 -04:00
idk added the
#1396
i2p
www
labels 2025-04-21 14:48:10 -04:00
Author
Owner

Still an issue. These are the parts that are translated:

Screen_Shot_2023-05-26_at_2.24.54_PM

Screen_Shot_2023-05-26_at_2.25.00_PM

Screen_Shot_2023-05-26_at_2.25.10_PM

Screen_Shot_2023-05-26_at_2.25.13_PM

Still an issue. These are the parts that are translated: ![Screen_Shot_2023-05-26_at_2.24.54_PM](/uploads/94c6a1974b14c9854ddeeaf0394bdf35/Screen_Shot_2023-05-26_at_2.24.54_PM.png) ![Screen_Shot_2023-05-26_at_2.25.00_PM](/uploads/c03c78580aef561be8fecd3fc580f580/Screen_Shot_2023-05-26_at_2.25.00_PM.png) ![Screen_Shot_2023-05-26_at_2.25.10_PM](/uploads/4808bffd246bcfd3a3eca71d46a06033/Screen_Shot_2023-05-26_at_2.25.10_PM.png) ![Screen_Shot_2023-05-26_at_2.25.13_PM](/uploads/d4f07d3c2741c20469e56a890f4e0b39/Screen_Shot_2023-05-26_at_2.25.13_PM.png)
Author
Owner

Has this been resolved?

Has this been resolved?
Author
Owner

comment:4 Changed 3 years ago by slumlord

Don't know if this error has re-appeared anywhere else. From what I am able to gather, things like links, etc. should be kept out of the {% trans -%}/{%- endtrans %} tags so that they don't get translated by the translation team?

Perhaps a set of guidelines when blog posts are drafted and added to the website system to ensure that the {{ link }} style of links aren't included, or a way of tagging such links so that translators know not to translate them.

[comment:4](https://trac.i2p2.de/\#comment:4) Changed [3 years ago](https://trac.i2p2.de//timeline?from=2018-06-20T07%3A09%3A32Z&precision=second "See timeline at Jun 20, 2018 7:09:32 AM") by slumlord Don't know if this error has re-appeared anywhere else. From what I am able to gather, things like links, etc. should be kept out of the `{% trans -%}`/`{%- endtrans %}` tags so that they don't get translated by the translation team? Perhaps a set of guidelines when blog posts are drafted and added to the website system to ensure that the `{{ link }}` style of links aren't included, or a way of tagging such links so that translators know not to translate them.
Author
Owner

comment:3 Changed 3 years ago by zzz

Cc:sadie added
Owner:
set to _slumlord_Status:new →
assigned

[comment:3](https://trac.i2p2.de/\#comment:3) Changed [3 years ago](https://trac.i2p2.de//timeline?from=2018-06-19T16%3A38%3A50Z&precision=second "See timeline at Jun 19, 2018 4:38:50 PM") by zzz Cc:_sadie_ added Owner: set to _slumlord_Status:new → assigned
Author
Owner

comment:2 Changed 6 years ago by str4d

Summary:Errors on translated pages at geti2p.net →
Errors on translated blog posts at geti2p.net

[comment:2](https://trac.i2p2.de/\#comment:2) Changed [6 years ago](https://trac.i2p2.de//timeline?from=2015-01-11T06%3A21%3A19Z&precision=second "See timeline at Jan 11, 2015 6:21:19 AM") by str4d Summary:Errors on translated pages at geti2p.net → Errors on translated blog posts at geti2p.net
Author
Owner

comment:1 Changed 6 years ago by str4d

Keywords:error added; website translations removed
Milestone:0.9.16

The root cause of blog translation errors is either incomplete translations, or mistakes in the reStructuredText formatting in the translation. In the cases above, the translators have translated the rST tag corresponding to the link, but haven't translated the paragraph that uses it; the Docutils backend can't connect the link to the paragraph (which is done by exact text match) and panics.

The immediate solution is to manually fix these errors as they appear. The long-term solution is to educate the translators about blog translations, to help them prevent these errors from occurring.

This ticket will remain open until the long-term solution is successfully implemented. In the meantime, please continue to post blog errors in this ticket. I think I will even adjust the blog error message to reference this ticket, so viewers know where to post errors.

[comment:1](https://trac.i2p2.de/\#comment:1) Changed [6 years ago](https://trac.i2p2.de//timeline?from=2015-01-11T06%3A20%3A25Z&precision=second "See timeline at Jan 11, 2015 6:20:25 AM") by str4d Keywords:_error_ added; _website_ _translations_ removed Milestone:0.9.16 The root cause of blog translation errors is either incomplete translations, or mistakes in the reStructuredText formatting in the translation. In the cases above, the translators have translated the rST tag corresponding to the link, but haven't translated the paragraph that uses it; the Docutils backend can't connect the link to the paragraph (which is done by exact text match) and panics. The immediate solution is to manually fix these errors as they appear. The long-term solution is to educate the translators about blog translations, to help them prevent these errors from occurring. This ticket will remain open until the long-term solution is successfully implemented. In the meantime, please continue to post blog errors in this ticket. I think I will even adjust the blog error message to reference this ticket, so viewers know where to post errors.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.www#43
No description provided.