'Comment' word not translated
-
Admin
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
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’
AdminWhat’s the URL to the site?
AdminUpload the translation files that you have right now somewhere and provide the link here so that we can take a look.
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
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
AdminRemove these two lines from your child theme’s
functions.php
first:'1 comment' => '1 komentarz',
'%d comments' => '%d komentarz'
- You must be logged in to reply to this topic.