I don't know the specific details of the Swedish training doctrine, but if they are routinely training with live ordinance, they are pretty much one of the few out there.
The majority of air forces use specific stores with similar external shape, ballistic properties and guidance as the real thing, but obviously don't blow up for safety reasons, and just mark the impact point with smoke or similar.
*Sometimes* they use live ordinance, but in very specific exercises and they just use the real thing, not a "specific training store that it's for training but also can be use for war because it explodes"
I understand that, if the Viggen has 2 types of the same pods, one for training and one for operations, the training pods will contain training rockets, with similar ballistic characteristics as the real thing, but "safe" (i.e. they don't explode, intended or unintended) and hence with no use during wartime
Regards