The Joomla! Forum ™






Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Dec 12, 2005 10:14 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Thu Aug 18, 2005 6:58 am
Posts: 1468
Location: Tønsberg, Norway
Can anyone tell med the difference, and what the following tags in the xml file for a language is.

The first is
mosinstall -> name

And the second is
mosinstall -> metadata -> name

Thanks
Jens-Christian

_________________
Jens-Christian Skibakk
MMS Blog - http://mms.pipp.no/
Joomla! i Norge / Joomla! in Norway - http://www.joomlainorge.no/


Top
 Profile  
 
PostPosted: Tue Dec 13, 2005 1:09 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6568
- The first one is the standard name attribute that defines the name of the package and is used in the different managers.
- The second one is only used for the language metadata and defines the actuall name of the language used in the language selectors.

U could argue that there is not a need to have both.  In coding terms it's easier to have both, maybe that can be a reason to have them ;)

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

http://www.joomlatools.eu - Joomla extensions that just work
http://www.nooku.org - Extension development framework for Joomla


Top
 Profile  
 
PostPosted: Tue Dec 13, 2005 11:53 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Thu Aug 18, 2005 6:58 am
Posts: 1468
Location: Tønsberg, Norway
Is there some rules about which one should be in english, and which one should be in the native language? Or both english/native?

_________________
Jens-Christian Skibakk
MMS Blog - http://mms.pipp.no/
Joomla! i Norge / Joomla! in Norway - http://www.joomlainorge.no/


Top
 Profile  
 
PostPosted: Tue Dec 13, 2005 3:43 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6568
All text in the xml files should always be in english (eng_GB). Translations to other languages should always go in an ini file.

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

http://www.joomlatools.eu - Joomla extensions that just work
http://www.nooku.org - Extension development framework for Joomla


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



Who is online

Users browsing this forum: No registered users and 205 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® Forum Software © phpBB Group