Let her "air out" a much as possible. If she's still in diapers, lose them. Put regular cotton panties on her or nothing at all. Put her on the potty as much as possible. It doesn't matter if she's not "ready" for potty training, you need to make sure she's getting fresh air and cleaned immediately after going, both pee AND poop.
Hold her on the toilet and tell her it will help. If it burns when whe pees, she could have an exterior infection or a UTI.
Don't let her have bubble bath in the tub. Actually, getting in the shower with her would be better so there is no residue from soap or anything to irritate her.
No more soda! No more strawberry milk!
She needs to be drinking 100% juice or water. Lots of water! You need to make sure her system is getting flushed out.
If her pee is dark or smells bad, you need to consider the infection possibility. But it's hard to tell what's causing dark urine if she's drinking lots of different things.
If she is spoiled to sodas, try giving her "bubble water".
You can get two-litre jugs of it at Winco for less than a dollar. It's just seltzer water, carbonated water. No sugar in it at all. For years, that's what my kids thought soda was. They didn't even know about Pepsi or anything else. My kids love it plain, but you can squeeze some lemon or lime or even mix it with a little orange or cranberry juice for flavor. They used to sell it with the other soda beverages, but I've noticed some stores have it in the liquor section to be used with mixed drinks, I guess. I never used it for that.
But, it's a thousand times better than giving young children soda and you should really try it. For BOTH of your children.
There's just nothing good that can come from soda for a two year old, infection or not.
Your little girl needs as much clear liquids as you can get her to drink.
Watch for fever.
Air her out.
Check for external rash or redness.
Is she itchy?
Does it only hurt when she pees?
Keep track of these things in case it gets worse over the weekend and you have to take her in. They will ask.
I hope she gets better soon!