View Issue Details

IDProjectCategoryView StatusLast Update
0019384phpList 3 pluginsGeneralpublic22-08-18 23:11
Reporterm.gi@gmx.ch Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0019384: Localization not working for plugins
DescriptionI'm developing a plugin for phplist. The plugin shall be localized using the .../lan/xx/page.php system supported by phplist core.
But the localization is not loaded... There seems to be a problem with the import order of pluginlib.php and languages.php.
The plugins are not yet loaded when the localizations are loaded.
Steps To ReproduceInstall and enable the attached test plugin into a phplist installation.
Select "Test" in the "Subscribers" top level menu.

Additional Informationphplist version: 3.3.3
tested on ubuntu 18.04 LTS
phpstorm 2018.2, xdebug, apache2

By debugging the application i found out that the localization is not loaded because at the time it should, the plugins are not yet activated.
(see admin/languages.php:214)
Tagsplugin-development, translation

Activities

m.gi@gmx.ch

22-08-18 23:11

reporter  

test.tar.gz (10,240 bytes)

Issue History

Date Modified Username Field Change
22-08-18 23:11 m.gi@gmx.ch New Issue
22-08-18 23:11 m.gi@gmx.ch File Added: test.tar.gz
22-08-18 23:11 m.gi@gmx.ch Tag Attached: plugin-development
22-08-18 23:11 m.gi@gmx.ch Tag Attached: translation