var _resources = [{"id":27,"symbolic_id":"res-order-completed","javascript":1,"nl":"Dank voor uw bestelling","en":"Thank you for your order","fr":"Merci pour votre commande","de":"Vielen Dank f\u00fcr Ihre Bestellung","timestamp":"2013-12-31 13:22:14"},{"id":39,"symbolic_id":"month-01","javascript":1,"nl":"Januari","en":"January","fr":"janvier","de":"Januar","timestamp":"2013-12-31 13:22:14"},{"id":40,"symbolic_id":"month-02","javascript":1,"nl":"Februari","en":"February","fr":"f\u00e9vrier","de":"Februar","timestamp":"2013-12-31 13:22:14"},{"id":41,"symbolic_id":"month-03","javascript":1,"nl":"Maart","en":"March","fr":"mars","de":"M\u00e4rz","timestamp":"2013-12-31 13:22:14"},{"id":42,"symbolic_id":"month-04","javascript":1,"nl":"April","en":"April","fr":"avril","de":"April","timestamp":"2013-12-31 13:22:14"},{"id":43,"symbolic_id":"month-05","javascript":1,"nl":"Mei","en":"May","fr":"mai","de":"Mai","timestamp":"2013-12-31 13:22:14"},{"id":44,"symbolic_id":"month-06","javascript":1,"nl":"Juni","en":"June","fr":"juin","de":"Juni","timestamp":"2013-12-31 13:22:14"},{"id":45,"symbolic_id":"month-07","javascript":1,"nl":"Juli","en":"July","fr":"juillet","de":"Juli","timestamp":"2013-12-31 13:22:14"},{"id":46,"symbolic_id":"month-08","javascript":1,"nl":"Augustus","en":"August","fr":"ao\u00fbt","de":"August","timestamp":"2013-12-31 13:22:14"},{"id":47,"symbolic_id":"month-09","javascript":1,"nl":"September","en":"September","fr":"septembre","de":"September","timestamp":"2013-12-31 13:22:14"},{"id":48,"symbolic_id":"month-10","javascript":1,"nl":"Oktober","en":"October","fr":"octobre","de":"Oktober","timestamp":"2013-12-31 13:22:14"},{"id":49,"symbolic_id":"month-11","javascript":1,"nl":"November","en":"November","fr":"novembre","de":"November","timestamp":"2013-12-31 13:22:14"},{"id":50,"symbolic_id":"month-12","javascript":1,"nl":"December","en":"December","fr":"d\u00e9cembre","de":"Dezember","timestamp":"2013-12-31 13:22:14"},{"id":61,"symbolic_id":"product-floorplanner","javascript":1,"nl":"Floorplanner","en":"Floorplanner","fr":"Floorplanner","de":"Floorplanner","timestamp":"2013-12-31 13:22:14"},{"id":62,"symbolic_id":"product-option-furnished","javascript":1,"nl":"Gemeubileerd","en":"Furnished","fr":"Meubl\u00e9","de":"M\u00f6bliert","timestamp":"2013-12-31 13:22:14"},{"id":63,"symbolic_id":"product-option-3d-detailed","javascript":1,"nl":"3D gemodelleerd","en":"3D modeled","fr":"en 3D mod\u00e8le","de":"3D modelliert","timestamp":"2013-12-31 13:22:14"},{"id":128,"symbolic_id":"product-credits","javascript":1,"nl":"tegoed ter waarde van {price}","en":"credit worth {price}","fr":"credit valeur de {price}","de":"Kredit im Wert von {price}","timestamp":"2013-12-31 13:22:14"},{"id":152,"symbolic_id":"label-order-date","javascript":1,"nl":"Besteldatum","en":"Order date","fr":"Date de la commande","de":"Bestelldatum","timestamp":"2013-12-31 13:37:23"},{"id":153,"symbolic_id":"label-status","javascript":1,"nl":"Status","en":"Status","fr":"Status","de":"Status","timestamp":"2013-12-31 13:37:23"},{"id":154,"symbolic_id":"label-title","javascript":1,"nl":"Adres","en":"Address","fr":"adresse","de":"Adresse","timestamp":"2013-12-31 13:37:23"},{"id":155,"symbolic_id":"option-all","javascript":1,"nl":"Alle","en":"All","fr":"tout","de":"alle","timestamp":"2013-12-31 13:37:23"},{"id":157,"symbolic_id":"empty-table-message","javascript":1,"nl":"Geen aanvragen gevonden","en":"no orders found","fr":"Pas de commande trouv\u00e9s","de":"Keine Auftr\u00e4ge gefunden","timestamp":"2013-12-31 13:37:23"},{"id":164,"symbolic_id":"label-contact","javascript":1,"nl":"Contactpersoon","en":"Contact","fr":"personne de contact","de":"Kontaktperson","timestamp":"2014-09-17 18:46:33"},{"id":172,"symbolic_id":"product-option-unicolor","javascript":1,"nl":"Unicolor","en":null,"fr":null,"de":null,"timestamp":"2016-05-24 17:53:56"},{"id":174,"symbolic_id":"product-option-report","javascript":1,"nl":"Meetrapport","en":"measurement report","fr":"rapport de mesure","de":"Messbericht ","timestamp":"2024-12-10 09:51:37"},{"id":180,"symbolic_id":"product-option-parcel","javascript":1,"nl":"Perceel","en":"parcel","fr":"parcelle","de":"Parzelle","timestamp":"2024-12-10 09:51:37"}]; var _lang = 'nl'; $(function() { if (!_resources) return; // update the dom-elements corresponding to a resource for (var i=0;i<_resources.length;i++) { var elementID = (_resources[i].symbolic_id) ? _resources[i].symbolic_id : 'res-' + _resources[i].id; // both id's and classes are set (classes, because one text can be used more than once on a page) var selector = '#' + elementID + ',.' + elementID; if ($(selector).is(':input')) $(selector).val( _resources[i][_lang] ); // for input-elements else $(selector).html( _resources[i][_lang] ); } }); function getRes(id) { return getResource(id); } function getResource(id) { var defaultLang = 'nl'; for (var i in _resources) if (id == _resources[i].symbolic_id || id == _resources[i].id) return (_resources[i][_lang]) ? _resources[i][_lang] : _resources[i][defaultLang]; return '[res:' + id + ']'; }