Update function doc, return language code if language is not recognized