Just gonna throw this out here - any Ruby gem for relatively quick & accurate language detection that you know of?
@Gargron ...I think that, perhaps, that might not be a good thing to roll into the core functionality? Perhaps instead build an API for modules other people can build for functionality like that if they so choose?
@munin @Gargron and perhaps a client setting for which language the user is using?