Change language to spanish with console for SSH

I tried to change language to spanish for system but i cant :confused:

What did you try?

You should be able to do sudo dpkg-reconfigure locales

In the future, I will make sure that language changes to Kodi also change the locale.