WordPress.org

Ready to get started?Download WordPress

Forums

CollabPress
Spanish language files available - CollabPress 1.3.1.1 (12 posts)

  1. mangoman
    Member
    Posted 11 months ago #

    I translated the POT and created es_ES archives. Currently they are available here:

    https://www.dropbox.com/s/jfp2tdiidzzze8a/collabpress-es_ES.po
    https://www.dropbox.com/s/irlk6j7c53tfa8o/collabpress-es_ES.mo

    I think I got the translation about 98% accurate. :-)

    John

    http://wordpress.org/extend/plugins/collabpress/

  2. mangoman
    Member
    Posted 11 months ago #

    However...

    I don't think that all the code of the plugin has been included in the POT language file - at least, that's my experience. I have a mixed English-Spanish backend (I'm not using/testing the frontend). :-)

    Anyone else have this experience?

  3. MakSider
    Member
    Posted 11 months ago #

    I agree. Frontend too.

  4. Eric Andrew Lewis
    Member
    Plugin Author

    Posted 11 months ago #

    Yep. A lot of front-end strings weren't wrapped in translation functions properly in 1.3. They've been fixed in 1.3.1, and I've now updated the .pot file on GitHub which will ship with the next version. If you wouldn't mind, please submit a pull request there with a translation.

    Thanks!

  5. MakSider
    Member
    Posted 11 months ago #

    Translation of for example "Dashboard" doesn't appear in the Front/BackEnd (while "CollabPress" does). I think there is something missing or has wrong sequence in the code.

  6. Eric Andrew Lewis
    Member
    Plugin Author

    Posted 11 months ago #

    @MakSider the strings have been wrapped in translation functions properly in master on GitHub.

  7. MakSider
    Member
    Posted 11 months ago #

    Found it! When you add [collabpress] into post, you'll see EN in the front-end of that page. When you look at admin's back-end collabPress - projects, you see EN "Dashboard" etc.
    The problem is in the 'collabpress/includes/template-tags.php'. Change 'Dashboard' and other link titles into
    "<?php _e('Dashboard', 'collabpress')?>" etc.
    Translation functions are working pretty nice, thanks.

  8. Eric Andrew Lewis
    Member
    Plugin Author

    Posted 11 months ago #

    Ah, thanks MakSider. Fixed in e58bd8ff431d9e99e9c10cdbb6edbb1082ae05b7

  9. mangoman
    Member
    Posted 11 months ago #

    Used the file and it seems to work ...although on the Dashboard, several items in an upper-right menu have vanished. Is that supposed to happen, or was I to edit the file in some other way?

    See: https://www.dropbox.com/s/fd7fh4vp0i2fzgi/cpm-backend_es.png

    Thanks.

  10. MakSider
    Member
    Posted 11 months ago #

    My opinion: in template-tags.php you changes right things but improperly. In tags "a"
    >Dashboard
    Should become
    ><?php _e('Dashboard', 'collabpress')?>
    Activity
    <?php _e('Activity', 'collabpress')?>
    And so on.
    Maybe, ";" before "?>" ( <?php _e('Dashboard', 'collabpress'); ?> ) is important.
    I've seen some code strings like "echo ' text in english'", which couldn't be translated through .po-s. Although they are warnings or something like that (you don't have permission...)

  11. Eric Andrew Lewis
    Member
    Plugin Author

    Posted 11 months ago #

    @mangoman that's not our plugin.

    @MakSider semicolons are not standard or required in inline php _e statements. If there are any strings not wrapped in the WP translation API pull requests are welcome in Github.

  12. mangoman
    Member
    Posted 11 months ago #

    Eric: My apologies. :-( There are several missing strings, though.

    BTW, I've translated both plugins and am having my partner compare them!

Reply

You must log in to post.

About this Plugin

About this Topic