/* * Created by PyramIDE. * User: Totoro * Date: 17/09/2012 * Time: 17:37 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ read tools/basis.anubis public define String get_datatable_translation ( String language, String web_dir )= with file = if file_exists(web_dir+"/public/js/jquery/dataTables/translation/"+language+".txt") then language else println("NOT FOUND : "+web_dir+"/public/js/jquery/dataTables/translation/"+language+".txt"); "en", "\"oLanguage\": { \"sUrl\": \"/js/jquery/dataTables/translation/"+file+".txt\" }".