adding a proper plugin for i18n and making it work with yfm templates