add support for component/translate