Joomla!
http://forum.joomla.org/

[under review] plugin-install.dtd needs update, problem with lang. file install
http://forum.joomla.org/viewtopic.php?f=199&t=170269
Page 1 of 1

Author:  yvolk [ Tue May 15, 2007 12:05 pm ]
Post subject:  [under review] plugin-install.dtd needs update, problem with lang. file install

Comparing DTD-s for component (component-install.dtd) and plugin (plugin-install.dtd) install, I found, that:

1. "folder" attribute of "files" element for plugin (but not for component!) has definition, that doesn't allow slashes, so:

- is illegal, but it works OK (as for component, where it is legal).

2. Description of "languages" element is strange:
there is NO way to describe differently language file for SITE and for ADMINISTRATOR (like for component). Currently language files are copied to administrator (backend) only  :(

3. And also I want to mention a BUG installing language files (it's both for plugins and components:
only first "languages" element is being processed, although DTD allows multiples languages elements (the same for installing components), so in my case, if I type this:

 
    en-GB.plg_content_yvcomment.ini
 

 
    ru-RU.plg_content_yvcomment.ini
 


- only first language file is installed.
By the way, in my Extension (yvComment) I'm using
this instead:


www/administrator/language/en-GB/en-GB.plg_content_yvcomment.ini
www/administrator/language/ru-RU/ru-RU.plg_content_yvcomment.ini

- but this is not consistent with "folder" attribute usage for files (that works!!!)

Author:  Jinx [ Wed May 16, 2007 2:15 pm ]
Post subject:  Re: plugin-install.dtd needs to be updated + problems with language files instal

Moving to Q&T for feedback.

Author:  Robin [ Tue Sep 11, 2007 5:37 pm ]
Post subject:  Re: plugin-install.dtd needs to be updated + problems with language files instal

Q&T Note; marking as under review

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/