View Issue Details

IDProjectCategoryView StatusLast Update
0019895phpList 3 applicationInternationalization (l18n)public19-07-19 13:48
Reporterduncanc Assigned To 
Status resolvedResolutionfixed 
Product Version3.4.1 
Target Version3.4.4Fixed in Version3.4.4 
Summary0019895: The update translations page now fails when checking for new translations
DescriptionThe URL used to check for new translations now does not work. Possibly overlooked by the change to use weblate instead of pootle.

See file admin/init.php line 183

define('TRANSLATIONS_XML', '');
TagsNo tags attached.



27-04-19 12:20

administrator   ~0062137

@Suela we should work to rewrite this part of phpLIst to use the Weblate API,

Although that will fix us onto Weblate, which may not be desirable.

I will rewrite the XML file to use the API to generate the required XML for phpList.


11-05-19 16:07

administrator   ~0062192

In order to see how it used to work, I'm going to resurrect the old translation site as ""

FYI @erion


11-05-19 16:34

administrator   ~0062193

The old XML is now on
It is of course out of date, but it will help to figure out what phpList is expecting as the format.


11-05-19 17:48

administrator   ~0062194

Waiting for further (internal) documentation on the new translation server setup.


27-05-19 22:20

administrator   ~0062254

@erion has provided the docs. This is with me.


05-06-19 14:49

administrator   ~0062316

Instead of copying what we did before with Pootle, we should implement this the Weblate way.

So, the intention is

1. code changes
2. changes are loaded into Weblate
3. translations are made
4. translations are pushed back

We should abandon the SVN repository, and possible set up a new one. It's probably safer to have a manual integration into the releases. Once we have that in place, we can work on the versions that can be pulled in from phpList to update the installation.


05-06-19 15:09

administrator   ~0062317

Looks like we need to re-script it using Weblate Client


05-06-19 15:15

administrator   ~0062318

root@a459a271c7d5:/# pip3 install wlc
Collecting wlc
Collecting pyxdg (from wlc)
  Downloading (40kB)
    100% |████████████████████████████████| 40kB 7.0MB/s
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from wlc) (2.21.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->wlc) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->wlc) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->wlc) (2019.3.9)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->wlc) (1.24.2)
Installing collected packages: pyxdg, wlc
Successfully installed pyxdg-0.26 wlc-1.1
root@a459a271c7d5:/# wlc
usage: wlc [-h] [--format {text,csv,json,html}] [--version] [--debug]
           [--config CONFIG] [--config-section CONFIG_SECTION] [--key KEY]
           [--url URL]
wlc: error: the following arguments are required: cmd


05-06-19 15:50

administrator   ~0062319

I have made it work, so that it doesn't look broken at the moment

    ScriptAlias /translations.xml /var/www/sites/pootle-phplist/php/translations.php
    ProxyPass /translations.xml !
    ProxyPass /export/phplist/ !

    ProxyPass /
    ProxyPassReverse /
    Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"

    Alias /export /var/www/sites/pootle-phplist/translations
    <Directory "/var/www/sites/pootle-phplist/translations">
        Order deny,allow
        Allow from all

    <Location /export>
        SetOutputFilter DEFLATE
        # Enable directory listing.
        Options Indexes

But it will not actually deliver translation updates at the moment, so we need to continue to work on that.


07-07-19 07:58

updater   ~0062539

Is this meant to be working now? When I force an update of the English translations phplist reports that it has updated 1986 language terms.


09-07-19 12:25

manager   ~0062548

@duncanc My understanding is that the update mechanism works (files are fetched correctly), but that they are not yet being automatically updated from weblate translations. So I would not expect to see new strings arrive, but I would expect no errors within phpList.


10-07-19 06:58

updater   ~0062552

OK, thanks.


11-07-19 17:05

reporter   ~0062558

Marking this resolved as the original reported problem is no longer present.