convert language code based on file format, issue #480