For Hep A this is true too, and it needs 3-4 weeks after the injections to render full effectiveness. But alert - Hep vaccines can be fatal in some rare cases - if after the injection you suffer extreme weakness, prolonged fever, dizziness and shortness of breath you have to get admitted to a hospital. Everyone gets a sore arm and slight fever.
There are 4 vaccines for type A but not sure of their name in Spanish
Havrix
Vaqata,
Avaxim,
Epaxa.
For Hep B:
Twinrix,
Pediarix, maybe more.
But a large percentage of 3rd world countries people contract Hep A, and never know it, and it clears on its own after a few weeks in healthy people (usually), giving you a lifetime immunity.
Hep B is much more serious and you can contract Hepatitis from the injection as well, and it triggers rheumatoid arthritis in a high percentage of patients and some auto immune diseases, Lupus and Psoriasis to name two.
https://academic.oup.com/rheumatolo...eumatic-disorders-developed-after-hepatitis-B
I had a friend who traveled overseas for years in oil rig work - He got the injections and now he does have some auto immune diseases and arthritis in his back (Maybe a connection? ) I refused the Hep injections while stationed in the Middle East as I had read up on the effects before they were recommended. (This was per-internet too !). Maybe just be careful and if you have cuts on your feet don't wear sandals in the streets in Sosua, Cabarete or Puerto Plata or any other city in DR - just look at the sewerage in the gutters and be wise.