Hi everyone
I will show you a method to charge alkaline batteries first, I thought that limiting the current of recharging the batteries did the trick, but no! The electrolyte leaks from the end of the negative terminal, when the battery leaks, it loses in the best case 50% of its capacity. so another method is needed!!!
The technique of a discontinuous contact: thanks to this technique the battery could suffer much less stress when recharging but on condition of leaving the battery two times longer to rest than to recharge (2 seconds of 6) 2s charging, 4s resting, And it works! Batteries recharged without problems!
Weather when recharging AA, AAA or 9 volt, no problem it works and it does not leak. In the worst case we can always limit the intensity.

The circuit consists of a simple oscillator that charges the batteries for 2 seconds and stop for 4 seconds.
The oscillator drives the Mosfet that charges the batteries.
Choose any mosfet Type, and any small transistor, that handle the charging current, if you want to charge a lot of batteries choose a high current transistors.
Another transistor and a potentiometer control the charging current, to charge all types (AAA AA 9V):I recommend:
 AA: maximum 250mA
 AAA: 110mA max.
 9V: 70mA max.

To recharge the batteries you must inject a voltage greater than the batteries voltage by X1.5.
This charger can charge as many batteries as you want! with 12 volts can be up to 6 (with more than 12 volts but in this case consider increasing the value of some resistors).
To make sure that your batteries are full charged and not damaging them, monitor their voltage, it should not exceed 110%, for example: a battery of 1.5V, maximum charge voltage is 1.65V.
(considering regeneration 80%), a 2Ah battery needs 20h for a complete recharge, Long? not really if you're not pressed.

Notes
Before charging the batteries try to select them: never take that are not alkaline, leaking already, which are rusty, which are of a mark "cheap", that give "0.00 volts" or supposed to be "outdated "for too long. Remember that alkaline batteries can be recycled. no saline lithium or any non alkaline battery it won't work and it's dangerous.