Documentation internationalization — The basics

**Warning:** Do not accept yet, wait for approval in #5899.

• Updated the Makefile to generate the templates in the locale folder.
• Created a folder for the Spanish (es) translation.
• Added necessary fields to conf.py.
• Generated the Transifex configuration file.
• Added *.mo to .gitignore.
How was this header generated? Would it need to be hand-edited or does it pull info from some kind of metadata?