R.J.
2 weeks is nothing with soft tissue damage.
The average break takes 6-8weeks to heal BUT
The average sprain takes 3-6 MONTHS to heal
Sounds like she sprained it. Which is SUPER common with gymnasts. We stretch all our tendons and ligaments out... then step wrong... and rip the bejeezus out of one of those loose joints. I badly sprain at least one ankle every year, and usually 2-3 times. My kness, hips, and shoulders all dislocate if you look at them wrong, but it's ankle injuries that are super common just walking around.
There are some very precise ways to rehab an ankle injury that vary depending on the exact nature of it. First step, though, is getting it wrapped correctly to protect it from further injury. Second (about a month later) is to slowly start strengthening it again... but it will still be weak and painful for a couple more months.
For a first timer, I'd strongly suggest working with a physical therapist.