Hi German:
I use this trick to check for integrity:
- Load the language pack in la local instance of Moodle
- Load the language pack in the custom translation tool
- Run the sql instance in the attached file (tm_generator.txt)
- Insert the result of the query in template.tmx file
The result is a translation memory that can be analysed with Checkmate.
The problem: probably you will get many errors due to some characters that are not allowed by Checkmate so you will have to remove manually some translation units. After doing it, you will get a report with some possible errors (see the attached image).
Of course, it would be great to have an integrated quality check system in Moodle.