[under review] plugin-install.dtd needs update, problem with lang. file install

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
Locked
User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

[under review] plugin-install.dtd needs update, problem with lang. file install

Post by yvolk » Tue May 15, 2007 12:05 pm

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!!!)
Last edited by Anonymous on Tue Sep 11, 2007 5:38 pm, edited 1 time in total.
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
Jinx
Joomla! Champion
Joomla! Champion
Posts: 6508
Joined: Fri Aug 12, 2005 12:47 am
Contact:

Re: plugin-install.dtd needs to be updated + problems with language files instal

Post by Jinx » Wed May 16, 2007 2:15 pm

Moving to Q&T for feedback.
Johan Janssens - Joomla Co-Founder, Lead Developer of Joomla 1.5

http://www.joomlatools.com - Joomla extensions that just work

user deleted

Re: plugin-install.dtd needs to be updated + problems with language files instal

Post by user deleted » Tue Sep 11, 2007 5:37 pm

Q&T Note; marking as under review


Locked

Return to “Joomla! 1.5 Bug Reporting”