collect metadata (+ use 'translate' in global_scope_prefix)