i18n : internationalization of errors

i18n : internationalization of errors

AxelHAxelH Posts: 1Questions: 0Answers: 0
edited August 2010 in Plug-ins
Hello,

I'm glad to use your i18n plug-in because i need to internationalize my application which use datable. However it seems that there is no actual way to internationalize errors message (i didn't find it into oLanguage).

This is the beginning of the file .js i use :
/*
* File: jquery.dataTables.js
* Version: 1.6.1
* CVS: $Id$
* Description: Paginate, search and sort HTML tables
* Author: Allan Jardine (www.sprymedia.co.uk)
* Created: 28/3/2008
* Modified: $Date$ by $Author$
* Language: Javascripta
* License: GPL v2 or BSD 3 point style
* Project: Mtaala
* Contact: allan.jardine@sprymedia.co.uk
*
* Copyright 2008-2010 Allan Jardine, all rights reserved.
*
* This source file is free software, under either the GPL v2 license or a
* BSD style license, as supplied with this software.
*
* This source file is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
*
* For details please refer to: http://www.datatables.net
*/

Thank You for your awareness.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi AxelH,

    Very interesting! I honestly hasn't considered internationalising the error messages - my thoughts on this were that all text which can be see by the end user should be initernationalisable - but the error messages won't be, so don't mater quite as much. However, it does make development using DataTables for non-English speakers that bit harder (coupled with the the fact that the documentation is available in only one language...).

    I will have a think about the best way to do this, and what (if any) impact / overhead it will have on DataTables. It might fit nicely into the next point revision thoughts I have for DataTables.

    Regards,
    Allan
This discussion has been closed.