@jgmize's idea was correct! Simply convert a viewname to a path, then use `get_translations(get_lang_path(template))`.