docs(i18n): internationalized the documentation

• Updated the Makefile to generate the templates in the locale folder.
• 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