Added support for chat command translation. Fixes #1189.