Joomla Module: How to read ini language strings from XML mod

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
doggystyle
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Aug 22, 2013 4:41 pm

Joomla Module: How to read ini language strings from XML mod

Post by doggystyle » Thu Aug 22, 2013 4:48 pm

mod_modulo.xml:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.0">
    <name>**EXTNAME**</name> 
    <description>**EXTDESCR**</description>
    <files>
    .
    .
    .
    </files> 
    <languages>
        <language tag="en-US">languages/en-US.mod_modulo.ini</language>
        <language tag="es-ES">languages/es-ES.mod_modulo.ini</language>
    </languages>
</install>
es-ES.mod_modulo.xml:

Code: Select all

EXTNAME=Mi modulo
EXTDESCR=Descripcion de mi modulo va aqui
I am using Joomla!1.5 to develop modules because I think that newer versions of Joomla are compatible with older modules. Anyway, the question is: How can I set the values of name and description in mod_module.xml to the strings found in the corresponding language file ?
Last edited by imanickam on Fri Aug 23, 2013 5:37 am, edited 1 time in total.
Reason: Moved the topic from the forum Modules for Joomla! 1.5 to the forum Coding - Joomla! 1.5

Locked

Return to “Joomla! 1.5 Coding”