Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 6:13 pm (All times are UTC )

 


Forum rules

Forum Rules
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
Posted: Tue May 15, 2007 12:05 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 778
Location: Moscow, Russia
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!!!)

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Last edited by Robin on Tue Sep 11, 2007 5:38 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Wed May 16, 2007 2:15 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6431
Moving to Q&T for feedback.

_________________
Johan Janssens - Joomla Co-Founder, Lead Developer of Joomla 1.5

http://www.nooku.org - multi-lingual content manager and rapid extension development framework for Joomla 1.5
http://www.joomlatools.eu - training, consulting and extension development


Top
   
 
Posted: Tue Sep 11, 2007 5:37 pm 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Q&T Note; marking as under review

_________________
Regards Robin


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Quick reply

 



Who is online

Users browsing this forum: njofra and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group