playframework/Play20 — pull request #566 by brikis98 (2012-11-21 19:59:57+00:00)
Title: #868: Make the Scala and Java controllers consistent with the PLAY_LANG cookie

As described in [lighthouse-868](https://play.lighthouseapp.com/projects/82401-play-20/tickets/868-scala-controller-lang-method-should-be-consistent-with-java-controller-lang-method), the `lang` method of the Scala `Controller` class should check the `PLAY_LANG` cookie so that it is consistent with the Java `Controller` class in determining which language to use.

I added a test to `integrationtest` that is similar to the one in `integrationtest-java` to check this functionality.