Polarization, not getting a charge

Alternators should work even if they have been sitting in a box for years on a parts shelf, it was only the old generators that needed polorizing sometimes if disconnected for a long time.Like others said probably volt reg or possibly wiring issue connected to it.