bug fix unknown 'i18n' + directive for buttons

Fixes "ReferenceError: i18n is not defined"