The following is the GNU All-permissive License as recommended in

Copyright (C) 2024 Free Software Foundation

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

Contributions are welcome. See

fix ESD / enc links from Tor to clearnet

on, there is a script which gets run on a regular basis, and creates a Tor version of translated pages by replacing links to the clearnet.

One of the things the script does for each language is to replace the link to the Onion service with a link pointing back to the clearnet, including the visible text part of the link. If you get an error message like missing language conversion (we have 6 / 8), then we need to add or edit translation strings so they match.

Lines to edit or add in /root/scripts/ look like:

rewrite_tor_link_to_clearnet "en"       "This site's tor onion service"         "This site's clearnet URL"
rewrite_tor_link_to_clearnet "es"       "El servicio tor onion de este sitio"   "La URL de clearnet de este sitio"

The first bit of text that gets replaced on the Tor site must exactly match the string that is in the original translated page.