Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter uddman

    (@uddman)

    Here is the solution which the author mailed me:
    Replace the footer template under WP Filebase/ Edit Templates, choose the 3rd tab “Lists” and edit Data-table. replace the footer code with this for Swedish (other languages can be found here: https://datatables.net/plug-ins/i18n):

    </tbody>
    </table>
    <script type="text/javascript" charset="utf-8">
        jQuery(document).ready(function() {
    jQuery('#wpfb-data-table-%uid%').dataTable({"oLanguage": {
      "sEmptyTable": "Tabellen inneh?ller ingen data",
      "sInfo": "Visar _START_ till _END_ av totalt _TOTAL_ rader",
      "sInfoEmpty": "Visar 0 till 0 av totalt 0 rader",
      "sInfoFiltered": "(filtrerade fr?n totalt _MAX_ rader)",
      "sInfoPostFix": "",
      "sInfoThousands": ",",
      "sLengthMenu": "Visa _MENU_ rader",
      "sLoadingRecords": "Laddar...",
      "sProcessing": "Bearbetar...",
      "sSearch": "S?k:",
      "sZeroRecords": "Hittade inga matchande resultat",
      "oPaginate": {
        "sFirst": "F?rsta",
        "sLast": "Sista",
        "sNext": "N?sta",
        "sPrevious": "F?reg?ende"
      },
      "oAria": {
        "sSortAscending": ": aktivera f?r att sortera kolumnen i stigande ordning",
        "sSortDescending": ": aktivera f?r att sortera kolumnen i fallande ordning"
      }
    }
     });
    });
    </script>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]

Viewing 1 replies (of 1 total)