Forums

EventPress
EventPress translate, but not everything (4 posts)

  1. Dennis
    Member
    Posted 2 years ago #

    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.

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

  2. lipsk
    Member
    Posted 1 year ago #

    Same problem here.

  3. lipsk
    Member
    Posted 1 year ago #

    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.

  4. ellaguno
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags