Who makes a 12-34?
Just size your chain for the 12-34.
Worst that will happen is a slight amount of sag if on small-small, which you shouldn't use anyway.
IF the <34T cogs work on the 12-34? the same size cogs will work just as well on the other cassette.