Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • cursosdesign Friend
    #157364

    Hello!
    I´ am currently working with loadposition {xxx} in the articles, however I would like that on all my articles this may be automatic. (With some exceptions)
    Where do you need to edit my template?

    Thank you very much!

    Gonzalo

    Phill Moderator
    #366452

    Have you tried this plugin – http://kulkul.xahoihoctap.net/kho-tai-lieu/joomla-15x-extension/Plugin-extranews-with-tooltip-Joomla-1.5.x-ver-2.0.8—displaying-related-newer–and–older-new-items-with-the-present-article/

    There are a few others on the JED, some paid some free but the above is free. I’ve not tried it myself but is looks like it will do the trick.

    cursosdesign Friend
    #366454

    Phil, excelent plugin! Thanks!

    But, How Can I change the language (in spanish). Could you help me?

    Best regards,

    Gonzalo

    Phill Moderator
    #366461

    In the plugins folder you will find a folder called i18n. This contains the language files. There is currently no spanish file there but it should be very simple to create one as there are only a few lines to edit.

    When the plugin is installed it creates a file in your administrator>language folder. The file will be yourlang.plg_content_extranews.ini
    Where yourlang is the prefix for your chosen language. For english for example it would be en-GB so the whole english file is in the administrator>language>en-GB folder with a file called en-GB.plg_content_extranews.ini and the contents of the file are

    LBL_NEWERNAME=Newer news items:
    LBL_OLDERNAME=Older news items:
    LBL_RELATEDNAME=Related news items:
    LBL_PREV_PAGE=<< Previous page
    LBL_NEXT_PAGE=Next page >>

    So if you convert anything after the = sign in each lint to spanish then save the file to

    your administrator>language>es.ES folder and call it es-ES.plg_content_extranews.ini you are nearly there.

    Next you will have to go to the plugins>content folder and open the file extranews.xml

    in it you will find the lines

    <languages folder="i18n">
    <language tag="en-GB">en-GB.plg_content_extranews.ini</language>
    <language tag="vi-VN">vi-VN.plg_content_extranews.ini</language>
    <language tag="fr-FR">fr-FR.plg_content_extranews.ini</language>
    <language tag="pt-BR">pt-BR.plg_content_extranews.ini</language>
    <language tag="de-DE">de-DE.plg_content_extranews.ini</language>
    <language tag="nl-NL">nl-NL.plg_content_extranews.ini</language>
    <language tag="it-IT">it-IT.plg_content_extranews.ini</language>
    </languages>

    Change to

    <languages folder="i18n">
    <language tag="en-GB">en-GB.plg_content_extranews.ini</language>
    <language tag="vi-VN">vi-VN.plg_content_extranews.ini</language>
    <language tag="fr-FR">fr-FR.plg_content_extranews.ini</language>
    <language tag="pt-BR">pt-BR.plg_content_extranews.ini</language>
    <language tag="de-DE">de-DE.plg_content_extranews.ini</language>
    <language tag="nl-NL">nl-NL.plg_content_extranews.ini</language>
    <language tag="it-IT">it-IT.plg_content_extranews.ini</language>
    <language tag="es-ES">it-IT.plg_content_extranews.ini</language>
    </languages>

    and you should be good to go I think. I have not tried it so pleaase report back and tell me how it goes.

    What a great little plugin that is. First time I have seen it.

    cursosdesign Friend
    #366571

    Hi Phill!

    Thank for the anser!

    The plugin is great!…but it didn´t work. The language is in english yet! What do you think?

    For example: http://www.cursosdesign.net/marketing-online/80-la-clave-del-exito-en-internet-presencia-marketing-y-redes-sociales

    Thanks and best regards,

    Gonzalo

    Phill Moderator
    #366581

    Where did you put your new es-ES.plg_content_extranews.ini file? I have just tested and it works fin if you put it in the administrator>language>es-ES folder.

    cursosdesign Friend
    #366592

    Hello Phill!

    I put it in:

    Administrator → Language → es-ES

    And the content it is:

    LBL_NEWERNAME=Nuevos Artículos:
    LBL_OLDERNAME=Antiguos Artículos:
    LBL_RELATEDNAME=Artículos Relacionados:
    LBL_PREV_PAGE=<< Página Previa
    LBL_NEXT_PAGE=Próxima Página >>

    However, the original (in English) I left it in:

    Administrator → Language → en-GB

    Thank you!

    Phill Moderator
    #366593

    Please make sure your cache is clear. If that fails then send me via PM an admin logon and ftp logon and I will take a look.

    cursosdesign Friend
    #366596

    Great Phill! I sent a PM..

    Thank you very much

    Gonzalo

    cursosdesign Friend
    #366769

    Hello Phill!. Did you receive my PM?

    Thank you!

    Gonzalo

    Phill Moderator
    #366776

    I replied yesterday.

    In essence I tried this on teline3v1 on my localhost and it is working fine. Something on your system is preventing it from picking up the language file and I cannot work out why. You have a lot of other extensions and any of them could be causing the problem. As this is a third party extension it is probably best if you asked on their site to see if they have experienced similar in the past. Without spending a lot of time working out how their component does things I cannot figure it out at the moment but the author might be able to suggest something very quickly especially as they have almost certainly seen similar problems before.

    cursosdesign Friend
    #366789

    Ok, thank you Phill..!
    I will see this.

    Gonzalo

    cursosdesign Friend
    #366795

    Phill, I was looking this code:

    <languages folder=”i18n”>
    <language tag=”en-GB”>en-GB.plg_content_extranews.ini</language>
    <language tag=”vi-VN”>vi-VN.plg_content_extranews.ini</language>
    <language tag=”fr-FR”>fr-FR.plg_content_extranews.ini</language>
    <language tag=”pt-BR”>pt-BR.plg_content_extranews.ini</language>
    <language tag=”de-DE”>de-DE.plg_content_extranews.ini</language>
    <language tag=”nl-NL”>nl-NL.plg_content_extranews.ini</language>
    <language tag=”it-IT”>it-IT.plg_content_extranews.ini</language>
    <language tag=”es-ES”>it-IT.plg_content_extranews.ini</language>
    </languages>

    Is <language tag=”es-ES”>it-IT.plg_content_extranews.ini</language> ok?

    Thanks!!!
    Gonzalo

    Phill Moderator
    #366799

    <em>@cursosdesign 208572 wrote:</em><blockquote>Phill, I was looking this code:

    Is <language tag=”es-ES”>it-IT.plg_content_extranews.ini</language> ok?

    Thanks!!!
    Gonzalo</blockquote>

    Try <language tag=”es-ES”>es-ES.plg_content_extranews.ini</language>

    Though I am still not sure. Give it a go and see what happens.

Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 2 voices, and was last updated by  Phill 13 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum