View Issue Details

IDProjectCategoryView StatusLast Update
0017730phplist applicationphpListpublic03-06-16 14:40
Reportergab.lau 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinux OSCento OSOS Version6.4
Product Version3.0.12 
Target Version3.0.XFixed in Version3.2.0 
Summary0017730: upgrade language don't fetch translations.xml correctly
DescriptionIn file /admin/init.php on line 156:
define('TRANSLATIONS_XML','https://translate.phplist.com/translations.xml');

It should be corrected in:
define('TRANSLATIONS_XML','https://translate.phplist.org/translations.xml');

otherwise download the wrong file:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>

The document has moved https://translate.phplist.org/translations.xml.


<hr>
<address>Apache/2.2.22 (Debian) Server at translate.phplist.com Port 443</address>
</body></html>
TagsNo tags attached.

Activities

michiel

26-06-15 09:59

manager   ~0056243


ah, yes, that will need updating. Thanks!

gab.lau

26-06-15 10:00

reporter   ~0056244

Also in the xml file the link of the translations are incorrect .com instead of .org, you can correct the xml file or via source code:
in file lib.php line 1029 add:
$ url = str_replace ('phplist.com/export/phplist', 'phplist.org/export/phplist', $ url);
above
$ cache = getPageCache ($ url, $ LastModified);