correct function used for i18n in plugin views