How did we figure out any historic languages? We researched them and analysed them. It's not really my field but there are ways of doing this and we've been doing it for thousands of years.
And mostly fail (unless we get some direct translation, like the Rosetta Stone). And if the civilization is gone, it's not unlikely that there won't be much more written record.