Bug 775542: Query lang files in the proper order.

Skip non-translated lang file entries.
Fix bug 815573.