I observe behavior of plugin listing and installation which in my opinion is false.
how to reproduce the bug:
- set language as czech (cs - utf-8)
- admin section -> plugin configuration -> install new sidebar plugins
- see for example Recaptcha plugin (serendipity_event_recaptcha). Important: you must not have this plugin on your server. There is description like:
Code: Select all
Pøi vkládání komentáøù pouívá systém kryptogramù Recaptcha (je tøeba pøedem zaádat o pøístupový klíè)
- admin section -> plugin configuration -> install new sidebar plugins
- see Recaptcha plugin again. Now the description encoding is correct:
Code: Select all
Při vkládání komentářů používá systém kryptogramů Recaptcha (je třeba předem zažádat o přístupový klíč)
- the file package_event.xml that contains info about plugins not downloaded to the server is probably created in local, non UTF-8 encoding
- when using local encoding (in case of czech language it is win-1250) in UTF-8 page, you see squares and other weired symbols
- Spartacus gives priority to locally stored (on the server) language files. So if there already exist language file, it displays its content, then the description of plugin is correct.
- Previous behavior has another consequence. If spartacus finds locally stored english file, but does not find czech (for example) file, it displays english descripiton regardless of czech description in package_event.xml. So when you download and install some plugin and then uninstall it, it remains on your server. If tomorrow somebody translates this plugin, you will never see the translation of the descripition, even if it exists. In other words, the separate function of upgrading language file of the plugin would be nice:-)
Regards
Vlad