Get the language from route Is there a way to get the language from a routeMatch in Drupal 8?

E.g. if I do:

$route_match = \Drupal::routeMatch();

Currently I can't find any language information in the returned object.  It looks like as if all language information has been stripped out, and the route object know's nothing about the language it is in.

I've looked into using the language manager, but can't find a way to combine this with the routeMatch class.

Scenario:
I'm writing my own AccessInterface class, and want to hide entities from certain languages.  I need the information of the language for the route (and not the site's current language).
I actually had the same problem with a Drupal 8 site.

I know this is unlikely to sound like a problem, but I can think of at least one situation (the situation I am in!) where it is.

We have the CMS setup so that the admin interface is in the users preferred langauge (a request by the client) so they can copy-paste translated content in whilst keeping the admin interface in a language they can understand.

However this creates confusion, as \Drupal::languageManager()-&gt;getCurrentLanguage() returns the langauge the admin system is using, not the lanuage the content is in.

The easiest way I found around this was to do the following:

$node = \Drupal::routeMatch()-&gt;getParameter('node');
$currentLanguage = $node-&gt;langcode-&gt;value;

(if anyone is curious as to why $node-&gt;langcode-&gt;value works, this question has some good answers: How to get the property of a content object in Drupal 8)

This literally gets the current node you've viewing, and then the language the node is displaying in.