After some research, i can't find a way excepted localisations. Documentation explain that summond pets get a new Id each time they are summond. So there ist no way to use Ids to identify them. And also the way with summon spells is not a realy good one, I think, because you must know a spell befor you can display the timer for it.
In Hydrogen the timer uses only die "pettimeremaining" function. So every pet, including new ones, should have a correct timer. The pet name and the summon spell function is only needed/used if the interface reloads in any way while the pet is active. In this point, only english Water Elemental is support yet. I will include localisation in the next version.
But my version is intended to look good with the XPerl settings I use, not the default frame. I handle the detecting the type of pet with it's name as well, there are the localized names in other regions in my addon. I haven't tested it though, so take with a grain of salt.
It might be possible to do it by detecting the player casting his WaterElemental summon spell, but for some reason I can't recall, I didn't do it that way.
Originally posted by miros Can't think of a reason no one thought about this 'til now. I love default frames too. Great job.
Nice to hear. I have some more ideas for nifty, well fitting, addons.
Originally posted by miros P.S. Might want to add support for other clients changing Spell names with Id's
That's a good point. But after my first look, there seems to be no ID to check the pettype (e.g. if it is "Water Elemental"). But I will look a bit deeper into it if I find some time. Maybe next weekend.