I'm using Drupal 7 with CKEditor module which permit to insert smiley from editor. I've found that the source code of CKEditor fix the smiley description in JS :
config.smiley_descriptions = [
'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
'yes', 'heart', 'broken heart', 'kiss', 'mail'
];
So when I insert a smiley, the code will be
<img alt="laugh" height="23" src="//cdn.ckeditor.com/4.4.3/full-all/plugins/smiley/images/teeth_smile.png" title="laugh" width="23">
But I want to modify the language of alt
and title
attributs according to the language used in my site. Is it possible to do that?
Thanks in advance.