feature(i18n): internationalized the documentation

• 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.
• Updated the Transifex configuration file to cover the documentation.
• Added *.mo to .gitignore.
• Updated the documentation about writing documentation.

Fixes #5899