javascript - How to change the language for alerts in chosen.js? -


when type in unavailable option in multiple select box in chosen.js, generate output 'no results match "query"'. there way change output language? see text on bottom.

you can set default message -

// jquery version: https://github.com/harvesthq/chosen/blob/master/example.jquery.html $(".chzn-select").chosen({no_results_text: "translated no results matched"});  // prototype version: https://github.com/harvesthq/chosen/blob/master/example.proto.html new chosen($$(".chzn-select")[element_index],{no_results_text: "translated no results matched"}); 

except this, there doesn't seem i18n support.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -