joomla 2.5 module translation issue

A place to discuss Joomla! translation matters.

Moderator: wendhausen

Locked
ravani
I've been banned!
Posts: 8
Joined: Sun Oct 06, 2013 11:48 am

joomla 2.5 module translation issue

Post by ravani » Sun Oct 06, 2013 4:16 pm

I am working on joomla 2.5.4. I am unable to install language for my module please see following my mod_staker.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install SYSTEM "http://dev.joomla.org/xml/1.5/module-install.dtd">
<install version="1.5" type="module" client="site" method="upgrade">
    
    <languages>
        <language tag="en-GB">en-GB.mod_stalker.ini</language>
    </languages>

    <files>
        <filename module="mod_stalker">mod_stalker.php</filename>
        <filename>gpl.txt</filename>
        <filename>helper.php</filename>
        <filename>index.html</filename>

        <filename>assets/index.html</filename>
        <filename>assets/css/index.html</filename>
        <filename>assets/css/stalker.css</filename>

        <filename>tmpl/default.php</filename>
        <filename>tmpl/index.html</filename>

    </files>

    <config>
        <fields name="params">
            <fieldset name="basic">

        <field name="moduleclass_sfx" type="text" default="" label="MODSUFFIX" description="MODSUFFIXDESC" />

        <field name="@spacer" type="spacer" default="" label="" description=""></field>

        <field name="iconsize" type="list" default='32' label="ICONSIZELABEL" description="ICONSIZEDESC">
        <option value='16'>16px</option>
        <option value='20'>20px</option>
        <option value='24'>24px</option>
        </field>
        <field name="digg" type="list" default='0' label="DIGGOPTLABEL" description="DIGGOPTDESC">
        <option value='0'>No</option>
        <option value='1'>Yes</option>
        </field>
        
        <field name="cache_time" type="text" default="900" label="CACHETIME" description="CACHETIMEDESC" />
      </fieldset>
    </fields>
    </config>
</install>
and this is following my language file en-GB.mod_stalker.ini

Code: Select all

MOD_STALKER=mod_stalker
BEBOOPTLABEL=Enable Bebo
BEBOOPTDESC=Select YES to display a link to Bebo
BEBONAMELABEL=Bebo username
BEBONAMEDESC=Enter your Bebo username


FRIENDSTEROPTLABEL=Enable Friendster
FRIENDSTEROPTDESC=Select YES to display a link to Friendster
FRIENDSTERNAMELABEL=Friendster Id
FRIENDSTERNAMEDESC=Enter your Friendster Id

NETVIBESOPTLABEL=Enable Netvibes
NETVIBESOPTDESC=Select YES to display a link to Netvibes
NETVIBESNAMELABEL=Netvibes Username
NETVIBESNAMEDESC=Enter your Netvibes username

NEWSVINEOPTLABEL=Enable Newsvines
NEWSVINEOPTDESC=Select YES to display a link to Newsvine
NEWSVINENAMELABEL=Newsvine Username
NEWSVINENAMEDESC=Enter your Newsvine username

NINGOPTLABEL=Enable Ning
NINGOPTDESC=Select YES to display a link to Ning
NINGNAMELABEL=Ning Username
NINGNAMEDESC=Enter your Ning username

ORKUTOPTLABEL=Enable Orkut
ORKUTOPTDESC=Select YES to display a link to Orkut
ORKUTNAMELABEL=Orkut Userid
ORKUTNAMEDESC=Enter your Orkut userid

[spam]=Enable [spam]
[spam]=Select YES to display a link to [spam]
[spam]=[spam] Username
[spam]=Enter your [spam] username

PICASAOPTLABEL=Enable Picasa
PICASAOPTDESC=Select YES to display a link to Picasa
PICASANAMELABEL=Picasa Username
PICASANAMEDESC=Enter your Picasa username

PLURKOPTLABEL=Enable Plurk
PLURKOPTDESC=Select YES to display a link to Plurk
PLURKNAMELABEL=Plurk Username
PLURKNAMEDESC=Enter your Plurk username

QIKOPTLABEL=Enable Qik
QIKOPTDESC=Select YES to display a link to Qik
QIKNAMELABEL=Qik Username
QIKNAMEDESC=Enter your Qik username

READEROPTLABEL=Enable Google Reader
READEROPTDESC=Select YES to display a link to Google Reader
READERNAMELABEL=Google Reader Id
READERNAMEDESC=Enter your Google Reader Id.

[red dit]=Enable [red dit]
[red dit]=Select YES to display a link to [red dit]
[red dit]=[red dit] Username
[red dit]=Enter your [red dit] username

SIMPYOPTLABEL=Enable Simpy
SIMPYOPTDESC=Select YES to display a link to Simpy
SIMPYNAMELABEL=Simpy Username
SIMPYNAMEDESC=Enter your Simpy username

STUMBLEUPONOPTLABEL=Enable StumbleUpon
STUMBLEUPONOPTDESC=Select YES to display a link to StumbleUpon
STUMBLEUPONNAMELABEL=StumbleUpon Username
STUMBLEUPONNAMEDESC=Enter your StumbleUpon username

TECHNORATIOPTLABEL=Enable Technorati
TECHNORATIOPTDESC=Select YES to display a link to Technorati
TECHNORATINAMELABEL=Technorati Username
TECHNORATINAMEDESC=Enter your Technorati username

[spam]=Enable [spam]
[spam]=Select YES to display a link to [spam]
[spam]=[spam] Username
[spam]=Enter your [spam] username

TWITTEROPTLABEL=Enable Twitter
TWITTEROPTDESC=Select YES to display a link to Twitter
TWITTERNAMELABEL=Twitter Username
TWITTERNAMEDESC=Enter your Twitter username

VIMEOOPTLABEL=Enable Vimeo
VIMEOOPTDESC=Select YES to display a link to Vimeo
VIMEONAMELABEL=Vimeo Username
VIMEONAMEDESC=Enter your Vimeo username

VOXOPTLABEL=Enable Vox
VOXOPTDESC=Select YES to display a link to Vox
VOXNAMELABEL=Vox Username
VOXNAMEDESC=Enter your Vox username

XBOXLIVEOPTLABEL=Enable Xbox Live
XBOXLIVEOPTDESC=Select YES to display a link to your Xbox Live Profile
XBOXLIVENAMELABEL=Xbox Live Username
XBOXLIVENAMEDESC=Enter your Xbox Live Gamer Tag

XINGOPTLABEL=Enable Xing
XINGOPTDESC=Select YES to display a link to your Xing Profile
XINGNAMELABEL=Xing Username
XINGNAMEDESC=Enter your Xing username

[youtube]=Enable [youtube]
[youtube]=Select YES to display a link to [youtube]
[youtube]=[youtube] Username
[youtube]=Enter your [youtube] username

EXTLINKOPTLABEL=Enable External Link
EXTLINKOPTDESC=Select YES to display a link to an External Site
EXTLINKNAMELABEL=External Link URL
EXTLINKNAMEDESC=Enter the URL of the External Link

CACHE=Caching
CACHEDESC=Select whether to cache the content of this module.
USEGLOBAL=Use global
NOCACHE=No caching
CACHETIME=Cache Time
CACHETIMEDESC=The time before the module is recached.
its unable to translate labels for config they are defined in language file module right panel still showing like CACHETIMEDESC instead of The time before the module is recached.

ravani
I've been banned!
Posts: 8
Joined: Sun Oct 06, 2013 11:48 am

Re: joomla 2.5 module translation issue

Post by ravani » Sun Oct 06, 2013 4:19 pm

i am delete some codes, because i can just submit 2000 word in submiting topic

divaneh
I've been banned!
Posts: 9
Joined: Sun Oct 06, 2013 11:40 am

Re: joomla 2.5 module translation issue

Post by divaneh » Sun Oct 06, 2013 5:30 pm

If you enable translation debuging, check if your language file is loaded correctly. or is joomla trying to load it from another folder?

Another thing but i think it is not the reason for your translation problem is that you specify a dtd for Joomla 1.5 but the content of your xml is 1.6 style and target of your module 2.5. Any XML validator should show you some errors.

ravani
I've been banned!
Posts: 8
Joined: Sun Oct 06, 2013 11:48 am

Re: joomla 2.5 module translation issue

Post by ravani » Mon Oct 07, 2013 6:44 am

thanks divaneh
yes my problem is about the versions that you said
and about enabling translation debuging how can i do it?

divaneh
I've been banned!
Posts: 9
Joined: Sun Oct 06, 2013 11:40 am

Re: joomla 2.5 module translation issue

Post by divaneh » Mon Oct 07, 2013 6:54 am

hi
i happy that your problem solved.
for debuging you can find it in http://forum.joomla.org/viewtopic.php?p=1244347

ravani
I've been banned!
Posts: 8
Joined: Sun Oct 06, 2013 11:48 am

Re: joomla 2.5 module translation issue

Post by ravani » Mon Oct 07, 2013 6:58 am

thanks again
i see that topic but it didnt have answer ! :'(

divaneh
I've been banned!
Posts: 9
Joined: Sun Oct 06, 2013 11:40 am

Re: joomla 2.5 module translation issue

Post by divaneh » Mon Oct 07, 2013 7:31 am

sorry
you are right.
this is :
http://docs.joomla.org/Debugging_a_translation


Locked

Return to “Translations”