I'm using dataTables to show several different kinds of data in my app. Every time I want a table I need to call the method and pass the translation object together with:
oTable = $('.dTables').dataTable({
        "bJQueryUI": true,
        "sPaginationType": "full_numbers",
        "sDom": '<""l>t<"F"fp>',
        "columnDefs": [{
            "targets": 0,
            "render": function ( data, type, full, meta ) {
                var livro = data.split(';');
                return '<a href="/livro/ver/'+ livro[0] +'">'+ livro[1] +'</a>';
            }
        }],
        "language": {
            "search": "Buscar: ",
            "lengthMenu": "Mostrar _MENU_ itens por página",
            "zeroRecords": "Nenhum registro",
            "info": "Mostrando _PAGE_ páginas de _PAGES_",
        }
    });
Is there anyway to extend the dataTable object to Always use the same object so I don't have to repeat my code over and over again?
 
     
    