tern: try to fix blank language codes as we migrate