New translations to Spanish

New translations and some code changes for language localization