WordPress.org

Ready to get started?Download WordPress

Forums

Zotpress
[resolved] Translation (5 posts)

  1. koxigru
    Member
    Posted 11 months ago #

    Hello,
    Is it possible to translate the different titles used by the shortcodes ? Like "Retrieved from:"? Is it a file I have to change or is it imported from Zotero ?
    Thanks.

    http://wordpress.org/plugins/zotpress/

  2. Katie
    Member
    Plugin Author

    Posted 11 months ago #

    Currently Zotpress isn't consistently prepared for localization, but this is something I'd like to do. I believe you create a .mo file containing the translated strings.

  3. koxigru
    Member
    Posted 11 months ago #

    Thanks. But is there a way now I can find and change some hard code ? I found some strings I could translate (like "Abstract:" for example) but I did not find "retrieved from".

    Like in this citation : "Christine Bellas Cabane. (2006). Fondements sociaux de l’excision dans le Mali du XXIème siècle. Revue Asylon(s), (1). Retrieved from http://www.reseau-terra.eu/article485.html". Abstract:…"

    No problem though if it's not possible to change it now, it's already a great plugin!

  4. Katie
    Member
    Plugin Author

    Posted 11 months ago #

    The reason is that this string is retrieved from the Zotero side and stored in the database -- if you know a but of PHP, you could use str_replace for specific strings on the returned references. Good luck!

  5. koxigru
    Member
    Posted 11 months ago #

    Yes, that's what I guessed! I'm quite a casual programmer but I'll try ;-)
    Thank you for your quick answer!

Reply

You must log in to post.

About this Plugin

About this Topic