Internationalisation

Localisation of the presentation layer is important for any software package, and I aim to make this normally arduous task as easy as possible in DataTables. To this end, a number of contributors have kindly translated the language strings used is DataTables into various different languages. If you translate DataTables into any other languages, please let me know and I'll happily include the translation here.

How to use DataTables internalisation options

There are two methods by which you can include internalisation options in DataTables - loading the language file through an Ajax request, or at initialisation time using the oLanguage property. The following example shows how to include the German translation as an Ajax file (live example - a live example for oLanguage control is also available):

<script type="text/javascript" src="jquery.dataTables.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$('#example').dataTable( {
			"oLanguage": {
				"sUrl": "dataTables.german.txt"
			}
		} );
	} );
</script>

Translations