/* * Created by PyramIDE. * User: Totoro * Date: 17/09/2012 * Time: 17:37 * */ read tools/basis.anubis public define String get_datatable_translation ( String language, String web_dir )= with lang_file = web_dir+"/public/js/jquery/plug-in/DataTables/translation/"+language+".txt", with file = if file_exists(lang_file) then language else println("NOT FOUND : "+lang_file); "en", "\"oLanguage\": { \"sUrl\": \"/js/jquery/plug-in/DataTables/translation/"+file+".txt\" }".