• I noticed that when you filter by Online or Offline pages, the text in the top-right is in french. I thought this was strange, since I didn’t even have WPML installed or anything else similar to it.

    However I saw that within /templates/panel_page/functions.php there are these two lines:

    $output.= '    <span class="pagination-total-items displaying-num">0</span>&nbsp;<span class="displaying-num">élément(s)</span>';
    
    $output.= '    &nbsp;&nbsp;&nbsp;<span class="displaying-num nb-selected-rows">0</span>&nbsp;<span class="displaying-num">sélectionné(s)</span>';

    Shouldn’t this be within a gettext ‘__()’, and in English? I have manually changed it for now, but I can see it becoming annoying if I need to re-translate each update.

    https://www.ads-software.com/plugins/advanced-page-manager/

  • The topic ‘Static French String within the functions file’ is closed to new replies.