View Issue Details

IDProjectCategoryView StatusLast Update
0017588phpList 3 applicationInternationalization (l18n)public16-04-16 15:27
Reporterduncanc Assigned To 
Status newResolutionopen 
Product Version3.0.11 
Target Versionnext minor 
Summary0017588: Plugin unable to provide translation
DescriptionIn defaultplugin.php there is a variable
public $needI18N = 0;
and a method
  function i18nLanguageDir() {
    # Return i18n Language Dir so that main page content can be extended
    return null;

that suggest a plugin can provide translations.

Looking at where those are used, there is a problem caused by the order of initialisation.

It is the constructor for class phplist_I18N that tries to load translations if the current page is for a plugin. But that class is defined and instantiated in the file languages.php, which is included before plugins have been created and initialised in file connect.php.
TagsNo tags attached.


There are no notes attached to this issue.