Page 1 of 1

Garbage language

Posted: Wednesday 17 October 2018 13:24
by Dave47
Hallo,

I have the following settings, but in the page is everything from garbage in Englisch.

var config = {}
config['language'] = 'nl_NL';

config['garbage_company'] = 'My company';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 'My zipcode';
config['garbage_street'] = 'My street';
config['garbage_housenumber'] = '21';
config['garbage_maxitems'] = '12';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage_use_cors_prefix'] = true;
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#db5518', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#153477', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
black: {kliko: 'black', code: '#000000', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
milieu: {kliko: 'yellow', code: '#f9e231', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'}, };

Can someone help me with a solution?

Re: Garbage language

Posted: Wednesday 17 October 2018 13:53
by EastXIII
What part is English in the block itself on Dashticz?
Because the kliko is stated in Dutch: ‘Restafval’
The code might be English but the output in Dashticz should be Dutch.

Re: Garbage language

Posted: Wednesday 17 October 2018 15:00
by Dave47
The output is Englisch...example: monday not maandag
I don't understand... at the moment it is totally not working.

Re: Garbage language

Posted: Wednesday 17 October 2018 15:26
by EastXIII
Could you post the complete config please?

Re: Garbage language

Posted: Wednesday 17 October 2018 15:49
by Dave47
It works!!!

only garbage remains English