• Hello,
    I made a translation of plugin starting from geo-my-wp.pot and everything seems to work except for additional informations (phone, website, etc.).
    To solve this issue I edited this line in gmw_get_location_meta_list (located in gmw-location-functions.php) from
    $output .= '<span class="label">' . esc_html( $label ) . ': </span>';
    to
    $output .= '<span class="label">' . esc_html( __(ucfirst($label), 'geo-my-wp') ) . ': </span>';

    Please, consider to make this change in your plugin.

    • This topic was modified 6 years, 3 months ago by tab7x.
Viewing 1 replies (of 1 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hello @tab7x,

    I apologize for not replying sooner.

    I am not sure how exactly the solution you suggested works for you, but to my knowledge ( and testing ) a variable cannot be translated.

    Which tool are you using for the translation?

Viewing 1 replies (of 1 total)

The topic ‘Translation does not work for additional informations’ is closed to new replies.