• Hello,

    I’m using EventPress with BuddyPress but still got some problem with translate. Already posted here similar thing, but I upgraded the plugins and saw it’s working better in this way.

    The .mo is all translated, but in the site isn’t everything translated.

    I really do not understand why some parts are translated and others no.

    https://www.ads-software.com/extend/plugins/eventpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same problem here.

    Hey, I found out that the strings that are not translated missed a parameter:

    Example. The code:

    'name'	=> _x( 'Event Tags', 'Taxonomy General Name'),
    'singular_name'	=> _x( 'Event Tags', 'Taxonomy Singular Name'),
    'search_items'	=> __( 'Search Event Tags'),
    'popular_items'	=> __( 'Popular Events'),
    'all_items' => __( 'All Event Tags'),
    'parent_item' => __( 'Parent Event Tag'),
    'parent_item_colon' => __( 'Parent Event Tag:'),
    'edit_item' => __( 'Edit Event Tag'),
    'update_item' => __( 'Update Event Tag'),
    'add_new_item' => __( 'Add New Event Tag'),
    'new_item_name' => __( 'New Event Tag Name')

    Should be replaced by

    'name' => _x( 'Event Tags', 'Taxonomy General Name', 'eventpress' ),
    'singular_name' => _x( 'Event Tags', 'Taxonomy Singular Name', 'eventpress' ),
    'search_items' => __( 'Search Event Tags', 'eventpress' ),
    'popular_items' => __( 'Popular Events', 'eventpress' ),
    'all_items' => __( 'All Event Tags', 'eventpress' ),
    'parent_item' => __( 'Parent Event Tag', 'eventpress' ),
    'parent_item_colon' => __( 'Parent Event Tag:', 'eventpress' ),
    'edit_item' => __( 'Edit Event Tag', 'eventpress' ),
    'update_item' => __( 'Update Event Tag', 'eventpress' ),
    'add_new_item' => __( 'Add New Event Tag', 'eventpress' ),
    'new_item_name'	=> __( 'New Event Tag Name', 'eventpress' )

    If you add ‘eventpress’ as the third parameter, the translation works again.

    The problem is: you’ll have to edit every php file and search for the _( commands.

    At least with the “Spanish” translation the file eventpress-es_ES.po has some mistakes with some “_p?ural” strings and an undeleted piece of text on line 526. After changing this I recompiled the .mo file uploaded and now it works.

    I left my corrected files here:
    eventpress-es_ES.po
    eventpress-es_ES.mo

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘EventPress translate, but not everything’ is closed to new replies.