Extend Symfony 2 Translator to Log Untranslated Messages to a Database

Log translation messages to the database in Symfony 2

The Symfony 2 translation service does a fantastic job of translating messages using the file system and translation messages.locale.xliff files.  Gathering all of the i18n source phrases to hand off to a translator or translation service can be a major challenge, especially in a large, dynamic website.  The goal here is to provide a logging mechanism to add un-translated text to a database more…