doc on assets and translations in hook templates