'Comment' word not translated

  • Admin

    Syahir Hakim

    #38424

    Some of the strings in the Polish translation file haven’t been updated for quite some time. You can try updating it yourself using the POEdit software.

    See here for instructions: http://docs.graphene-theme.com/Translating_the_theme

    Maciej

    #38425

    thans Sayir, but it aint resolve the problem.

    I have downloaded that Poedit – good programm, anyway, there is already translated

    1comment – 1 komentarz. and it is working properly, but only at home Page, under posts.

    than if you click at that post to comment it, above space for write comment, you see not translated ‘1 comment’

    Admin

    Syahir Hakim

    #38426

    What’s the URL to the site?

    Maciej

    #38427

    not yet on the server. im workin on xampp offline right now.

    Admin

    Syahir Hakim

    #38428

    Upload the translation files that you have right now somewhere and provide the link here so that we can take a look.

    Maciej

    #38429

    ok , site is online

    its ok if there is 1 comment, than on page shows ‘1 komentarz’ and its correct

    now there is 2 comments, and it shows ‘2 comments’ not translated int polish, and should be ‘2 komentarze’

    the same when you go into this certain post, text over the the comments ‘2 comments’

    will be glad for help with this

    here is site : http://www.soople.pl

    Maciej

    #38430

    this one

    <?php
    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Leave comment' => 'Komentuj',
    'Copyright' => '2013',
    '1 comment' => '1 komentarz',
    '%d comments' => '%d komentarz'

    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    ?>

    in child theme functions.php , is working only with copyright-2013, and ‘leave comment’ – komentuj. but not with that what im sayin about

    Admin

    Syahir Hakim

    #38431

    Remove these two lines from your child theme’s functions.php first:

    '1 comment' => '1 komentarz',
    '%d comments' => '%d komentarz'

    Maciej

    #38432

    done, but no effect

    Maciej

    #38433

    i ahev checked all in poedit, and evrything seems to be ok. no idea why on page displays in english

Viewing 10 posts - 11 through 20 (of 24 total)

  • You must be logged in to reply to this topic.