How to update your System language to add latin american keyboards on debian systems.
Open the terminal and use:

dpkg-reconfigure keyboard-configuration
locale -a
locale-gen
Pick the Latinamerican and Spanish keyboards on desktop environment.
Now, you won’t be able to use the terminal console on desktop environments, therefore, restart on recovery mode for terminal. Then use:
sudo apt purge locales
Finally, let an update and upgrade cycle to re-install locales with fix for bug included, wish is the best way to fix the problem. 2024 – 2025.
reboot. Enjoy.

Always yours,
V. Rykov.