WordPress.org

Forums

jQuery Archive List Widget
[resolved] Multilanguage title (11 posts)

  1. TomasValenta
    Member
    Posted 4 years ago #

    Hi,
    thanks for this good plugin. Is possible add to language file item for translating "Title" for multilanguage site?

    http://wordpress.org/extend/plugins/jquery-archive-list-widget/

  2. Miguel Useche
    Member
    Plugin Author

    Posted 4 years ago #

    thanks for the comment, currently there are .mo and .pot files inside the lang folder, you can edit them to your language, or check the word title in the source code and change it to whatever you want.

    Just tell me if that's what you asked for.

  3. TomasValenta
    Member
    Posted 4 years ago #

    Yes, but i have multilaguage site using WPML. I have created translation using .pot and .mo files, here is:
    jQuery-Archive-List-Lang-cz.zip
    but with this method i can not translate Title name, see screen:
    jQuery-Archive-List-screen.png
    Therefore, I ask. Is possible add to .pot file item for translating "Title name"? ;)

  4. Miguel Useche
    Member
    Plugin Author

    Posted 4 years ago #

    Oh i see, thanks for the tip. I have updated my plugin on the SVN repo and I added "Default title" to language's pot file. So, if you don't put any text as title there'll be a default one.

    This will be taken from the pot file, if your site is multilanguage, you can edit .pot file to add your custom title for each language.

    By the way, can you help me to translate my other similar plugin to CZ, it will help people from your country to have this plugin on your language, here are the links for the po files for this plugin and the other one:

    jQuery Archive List's updated pot
    jQuery Categorie List's pot (my other plugin)

  5. TomasValenta
    Member
    Posted 4 years ago #

    Ok, thank you ;)
    Here is an updated and next translated file:
    jQuery Archive List's
    jQuery Categorie List's

  6. TomasValenta
    Member
    Posted 3 years ago #

    Hi Miguel,
    i updated plugin to the latest version 1.2.2 and "Default title" translation not working by lang file like before. It is bug? ;)

  7. Miguel Useche
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for the report, i've just updated both of my plugins. Now i must tell to WordPress to load language file. Before, it was automatically.

  8. TomasValenta
    Member
    Posted 3 years ago #

    Ok, you're welcome ;) But when i downloaded 1.2.3 version, file "jal.js" is missing in zip archive, mistake?

  9. Miguel Useche
    Member
    Plugin Author

    Posted 3 years ago #

    No, it generates itself if it doesn't exists.

  10. TomasValenta
    Member
    Posted 3 years ago #

    Ok, but I have now new problem with translation "Default title". It does not work like before. I use WPML (The WordPress Multilingual Plugin) and with other plugins is working properly, but with this new version not. "Default title" take only from English translation and Czech not. Before new version 1.2.2 it worked good, not now. Any idea why ? ;)

  11. Miguel Useche
    Member
    Plugin Author

    Posted 3 years ago #

    Honestly, i don't know what wordpress changed in its API. Because now it doesn't autoloads translation files (that was your reported bug) so i need to tell to wordpress to do it. I was reading and you can try to make it compatible trough this:

    http://wpml.org/documentation/support/translation-for-texts-by-other-plugins-and-themes/

    WPML is a commercial plugin so i can't test it by my own, you are free to try to apply those steps. Tell me if you solved it to add it to the FAQ or if you changed the source code you can send a patch or something.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Archive List Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic