move translangs decl out of conditional