Actually, as you can see HERE, in the language file the string is “Required stepS” and on the page it is “Required Step”. I just noticed this diference.
Thanks!
The same happens with the “People who have earned this” right below. I have changed the site language do ES that comes with the plugin and this string and the “Required” from above has not changed.
Not sure what’s going on unless the translation files haven’t been updated and thus have mismatched line numbers etc.
From the first post:
s( 'badgeos_steps_heading', sprintf( __( '%1$d Required %2$s', 'badgeos' ), $count, $post_type_object->labels->name ), $steps ) . '</h4>';
From the second post:
add_meta_box( 'badgeos_steps_ui', apply_filters( 'badgeos_steps_ui_title', __( 'Required Steps', 'badgeos' ) ), 'badgeos_steps_ui_meta_box', $achievement_type, 'advanced', 'high' );
From the third post:
$output .= '<h4>' . apply_filters( 'badgeos_earners_heading', __( 'People who have earned this:', 'badgeos' ) ) . '</h4>';
The core code has them ready to translate, but perhaps the po files need refreshed? Are you trying fresh translations from the main .pot file?
Hi Michel, yes, it’s the correct po file.
Just in case i just downloaded 1.4.7 version, extracted the po file and checked it has exact the same 55.921 bytes from the server. I replaced it, sync on Loco Translate and rechecked translations.
But, in page all the same, like this:
—————-
…
1 Required Passo
People who have earned this:
—————-
I have changed themes too just in case with no success.
Thanks for your help.
Can you provide the .po files you’re using? I don’t have an answer at the moment, overall. The spots are translation ready and internationalized.
Hi there;
Looks like moving the translation file to /languages/plugin made it work as intended.
Thanks!