Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author kunalb

    (@kunalb)

    Are you using EventPress with/without BuddyPress? If you’re using it with BuddyPres, you might need to translate BuddyPress Custom posts.

    Thread Starter Dennis

    (@altermann)

    With BuddyPress. Well, I will try that. Soon I come with feedback, thanks ??

    Thread Starter Dennis

    (@altermann)

    My bpcp-pt_BR.po and .mo files are all translated, and I didn’t find the “just registered for the…” line and some other lines too. I need to change something in eventpress.php?

    Plugin Author kunalb

    (@kunalb)

    You shouldn’t have to—I just checked, the “Just registered for the …” line is passed through a gettext call
    $action = sprintf( __( '%s just registered for the event <a href = "%s">%s</a>.', 'eventpress' ), bp_core_get_userlink( $userid ) , get_permalink( $eventid ), $post->post_title );
    so it should be getting translated.

    If you do want to edit the core files, this is in eventpress/controllers/bp.php.

    Thread Starter Dennis

    (@altermann)

    Well, I important translations I made this way, but when it upgrade I will have to make everything again. :S

    The translation file doesn’t working anyway.

    Plugin Author kunalb

    (@kunalb)

    Strange—I don’t really understand why this is happening. Need to test it out properly before the next release, I guess.

    Thread Starter Dennis

    (@altermann)

    Yes, because all other plugins I had to translate are working fine. Well, if you have any news or update for it I will be happy ??

    Just giving feedback, maybe somebody else have an similar problem.

    I’am using CodeStyling Localization plugin to scan the files, and it “found” all I line I translated by myself. Doesn’t know if it helps, already thought was a bug with this plugin, but it works for other things.

    Anyway. The translation file have to be in “eventpress/lang” and the file is “eventpress-pt_BR.mo”, right?

    By the way, what is “eventpress/trunk/lang/”?

    Plugin Author kunalb

    (@kunalb)

    OK—so it’s embarrassing that I didn’t notice this before today, but apparently while checking in the new version I checked in a duplicate of the code within the trunk folder while moving between the Google Code hosting I use for regular update work and WordPress which I used for releasing new versions.

    Will be removing the folder by the next version.

    That’s what comes of never downloading my plugin from www.ads-software.com directly.

    Thread Starter Dennis

    (@altermann)

    Hmm, Ok. Could I just delete the “trunk” folder? I installed eventpress “long time” ago, last version I just get upgrading I think. ??

    Plugin Author kunalb

    (@kunalb)

    Yup.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: EventPress] Problem with translation’ is closed to new replies.