Set up all template strings for translation.  Fixes #617.