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 and .po to .gitignore.
• Updated the documentation about writing documentation and releases.

Fixes #5899
Merge pull request #6952 from Gallaecio/doc-i18n

docs(i18n): Documentation internationalization — The basics
fix(discussion): no longer show entity menu items on non-discussions

A bug in the discussion menu hook could cause discussion edit
links to show on other entities like users.

Fixes #6508
Merge pull request #6977 from jdalsem/discussion_entity_menu

fix(discussion): no longer show entity menu items on non-discussions