Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp-events translation ?

  • Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    In bp-events is a tabed option menu (the same as in bp-groups).

    Both use the same code :

    in bp-groups.php

    Line 143 : …=> array( ‘name’ => __( ‘Group Details’, ‘buddypress’ ), ‘position’ => 0 ),

    Line 144 : … => array( ‘name’ => __( ‘Group Settings’, ‘buddypress’ ), ‘position’ => 10 ),

    Line 145 : … => array( ‘name’ => __( ‘Group Avatar’, ‘buddypress’ ), ‘position’ => 20 ),

    Line 146 : … => array( ‘name’ => __( ‘Group Invites’, ‘buddypress’ ), ‘position’ => 30 )

    this translate without problem.

    in bp-events.php we find the same thing with this string

    … __( ‘Events Details’, ‘bp-events’ ) ….

    and this is not translated but IS in the po file. All other bp-events strings are translated just not this part !

    If somebody has a translated bp-events who works on the create page, i’m interested

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Ooooups !

    wp 2.8.6 and bp 1.1.3

    http://buddypress-fr.net/bpdemo/events/un-test

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Nobody use this plugin in another language as english ?

    hum, tu peux pas ajouter directement la traduction?… des fois je me demande pourquoi ils utilisent cette technique pour les traductions alors qu’il n’existe aucun logiciel VRAIMENT fiable pour gérer le tout… c’est un enfer.

    par ailleurs, il y a plusieurs trucs à mettre à jour puisque WPMU est à 2.9, BP est à 1.2… woo tooooo

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Merci nexia ;-) c’est sympa !

    Of course i can translate directly in the plugin, but i don’t want to do that…

    This said, the plugin needs effectively to be rewriten at his locale level. The function who actually do this is a bit…hum… complicated and .. haaaaaaa….weird. (je reste poli tu vois)

    gettext is ok, some of the people who use it not so much (or as well) ;-)

    WPMU 2.8.6 -> and in june WP 3.0

    WP 2.9.1 / 3.0 alpha -> and in june WP 3.0

    BP 1.2 -> and in june 1.3 ?

    There are so many things to update in the next 6 mounth… yeap !

    Meanwhile if somebody could clean the WP plugin repository from the very old/obsoletes stuff it contains it would be great too.

    Avatar of Fairweb
    Fairweb
    Participant

    @fairweb

    Found the translation bug.

    In bp-events.php, line 2831

    add_action ( 'plugins_loaded', 'events_load_textdomain', 9 );

    should be

    add_action ( 'plugins_loaded', 'events_load_textdomain', 1 );

    As it was in 9 priority, it was loaded after

    add_action( 'plugins_loaded', 'events_setup_globals', 5 );

    That’s why the other strings loaded but not this one.

    Avatar of me & you
    me
    Participant

    @yair10

    have you a PO files oin buddypress for translate to Other Languages?

    How can I translate to another language

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.